home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-07-06 | 276.6 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Financial Portfolio v2.8
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sun Apr 21 12:08:32 1991, modified Mon Jul 6 17:18:41 1992, creator HyperCard, type HyperCard stack, 217472 bytes "Financial Portfolio v2.8" , at 0x35200 65562 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dexmagic
| Picasso 64 Image
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 18 46 69 6e 61 6e 63 | 69 61 6c 20 50 6f 72 74 |..Financ|ial Port|
|00000010| 66 6f 6c 69 6f 20 76 32 | 2e 38 00 00 00 00 00 00 |folio v2|.8......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 03 51 80 00 | 01 00 1a a4 37 69 80 a6 |.....Q..|....7i..|
|00000060| 7e 69 31 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |~i1.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 73 6a 00 00 |........|....sj..|
|00000080| 00 00 72 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..r.STAK|........|
|00000090| 00 00 00 0a 00 03 51 80 | 00 00 72 00 00 00 00 00 |......Q.|..r.....|
|000000a0| 00 00 00 01 00 00 00 11 | 00 00 0a a2 00 00 00 20 |........|....... |
|000000b0| 00 00 0b cc 00 00 08 a9 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 35 97 00 00 00 00 | 00 05 00 00 10 00 00 00 |..5.....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 01 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| db fb b2 7a 00 00 00 00 | 00 83 00 30 01 d9 02 30 |...z....|...0...0|
|00000100| 00 00 00 00 03 66 02 80 | 00 00 00 00 00 00 00 00 |.....f..|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 7e 00 00 0c ae | 01 56 02 00 00 00 00 00 |...~....|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 20 20 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |-- ...|........|
|00000690| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006a0| a5 a5 0d 2d 2d 20 20 20 | 20 a5 a5 20 20 46 69 6e |...-- | .. Fin|
|000006b0| 61 6e 63 69 61 6c 20 50 | 6f 72 74 66 6f 6c 69 6f |ancial P|ortfolio|
|000006c0| 20 20 a5 a5 0d 2d 2d 20 | 20 20 a5 a5 a5 a5 a5 a5 | ...-- | ......|
|000006d0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006e0| a5 a5 a5 a5 a5 a5 a5 0d | 2d 2d 0d 2d 2d 20 62 79 |........|--.-- by|
|000006f0| 20 4d 69 63 68 61 65 6c | 20 4a 2e 20 46 6f 72 65 | Michael| J. Fore|
|00000700| 6d 61 6e 20 31 39 39 31 | 2c 31 39 39 32 0d 2d 2d |man 1991|,1992.--|
|00000710| 0d 2d 2d 20 50 6c 65 61 | 73 65 20 73 65 6e 64 20 |.-- Plea|se send |
|00000720| 6d 65 20 66 65 65 64 62 | 61 63 6b 20 2d 20 41 6d |me feedb|ack - Am|
|00000730| 65 72 69 63 61 20 4f 6e | 6c 69 6e 65 3a 20 22 4b |erica On|line: "K|
|00000740| 69 64 20 44 6f 63 74 6f | 72 22 0d 2d 2d 0d 0d 6f |id Docto|r".--..o|
|00000750| 6e 20 6f 70 65 6e 53 74 | 61 63 6b 0d 67 6c 6f 62 |n openSt|ack.glob|
|00000760| 61 6c 20 6f 6c 64 55 73 | 65 72 4c 65 76 65 6c 0d |al oldUs|erLevel.|
|00000770| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00000780| 73 79 0d 68 69 64 65 20 | 6d 65 6e 75 62 61 72 0d |sy.hide |menubar.|
|00000790| 68 69 64 65 20 74 6f 6f | 6c 20 77 69 6e 64 6f 77 |hide too|l window|
|000007a0| 0d 68 69 64 65 20 70 61 | 74 74 65 72 6e 20 77 69 |.hide pa|ttern wi|
|000007b0| 6e 64 6f 77 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |ndow.set| cursor |
|000007c0| 74 6f 20 62 75 73 79 0d | 70 75 74 20 74 68 65 20 |to busy.|put the |
|000007d0| 75 73 65 72 6c 65 76 65 | 6c 20 69 6e 74 6f 20 6f |userleve|l into o|
|000007e0| 6c 64 55 73 65 72 4c 65 | 76 65 6c 0d 69 66 20 74 |ldUserLe|vel.if t|
|000007f0| 68 65 20 75 73 65 72 6c | 65 76 65 6c 20 3c 33 20 |he userl|evel <3 |
|00000800| 74 68 65 6e 20 73 65 74 | 20 74 68 65 20 75 73 65 |then set| the use|
|00000810| 72 6c 65 76 65 6c 20 74 | 6f 20 33 0d 70 75 74 20 |rlevel t|o 3.put |
|00000820| 63 64 20 66 69 65 6c 64 | 20 22 44 65 66 61 75 6c |cd field| "Defaul|
|00000830| 74 22 20 6f 66 20 63 64 | 20 22 70 72 65 66 73 22 |t" of cd| "prefs"|
|00000840| 20 69 6e 74 6f 20 64 65 | 66 61 75 6c 74 53 63 72 | into de|faultScr|
|00000850| 65 65 6e 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |een.lock| screen.|
|00000860| 69 6e 69 74 69 61 6c 69 | 7a 65 0d 75 6e 6c 6f 63 |initiali|ze.unloc|
|00000870| 6b 20 73 63 72 65 65 6e | 0d 69 66 20 63 64 20 66 |k screen|.if cd f|
|00000880| 69 65 6c 64 20 75 73 65 | 64 59 65 74 20 6f 66 20 |ield use|dYet of |
|00000890| 66 69 72 73 74 20 63 64 | 3d 65 6d 70 74 79 20 74 |first cd|=empty t|
|000008a0| 68 65 6e 20 2d 2d 20 73 | 68 6f 77 20 48 65 6c 70 |hen -- s|how Help|
|000008b0| 0d 70 75 74 20 22 59 22 | 20 69 6e 74 6f 20 63 64 |.put "Y"| into cd|
|000008c0| 20 66 69 65 6c 64 20 75 | 73 65 64 59 65 74 0d 67 | field u|sedYet.g|
|000008d0| 6c 6f 62 61 6c 20 68 65 | 6c 70 43 61 72 64 0d 70 |lobal he|lpCard.p|
|000008e0| 75 74 20 22 48 65 6c 70 | 20 53 74 61 63 6b d5 73 |ut "Help| Stack.s|
|000008f0| 20 68 65 6c 70 22 20 69 | 6e 74 6f 20 68 65 6c 70 | help" i|nto help|
|00000900| 43 61 72 64 0d 68 65 6c | 70 65 72 0d 65 6c 73 65 |Card.hel|per.else|
|00000910| 0d 69 66 20 64 65 66 61 | 75 6c 74 53 63 72 65 65 |.if defa|ultScree|
|00000920| 6e ad 65 6d 70 74 79 20 | 74 68 65 6e 0d 73 65 74 |n.empty |then.set|
|00000930| 20 6c 6f 63 6b 6d 65 73 | 73 61 67 65 73 20 74 6f | lockmes|sages to|
|00000940| 20 74 72 75 65 20 2d 2d | 20 61 76 6f 69 64 20 22 | true --| avoid "|
|00000950| 64 6f 75 62 6c 65 2d 63 | 68 65 63 6b 69 6e 67 22 |double-c|hecking"|
|00000960| 0d 76 69 73 75 61 6c 20 | 69 72 69 73 20 6f 70 65 |.visual |iris ope|
|00000970| 6e 20 66 61 73 74 0d 67 | 6f 20 63 64 20 64 65 66 |n fast.g|o cd def|
|00000980| 61 75 6c 74 53 63 72 65 | 65 6e 0d 73 65 6e 64 20 |aultScre|en.send |
|00000990| 22 6f 70 65 6e 43 61 72 | 64 22 20 74 6f 20 74 68 |"openCar|d" to th|
|000009a0| 69 73 20 63 61 72 64 0d | 65 6e 64 20 69 66 0d 65 |is card.|end if.e|
|000009b0| 6e 64 20 69 66 0d 65 6e | 64 20 6f 70 65 6e 73 74 |nd if.en|d openst|
|000009c0| 61 63 6b 0d 0d 6f 6e 20 | 63 6c 6f 73 65 53 74 61 |ack..on |closeSta|
|000009d0| 63 6b 0d 67 6c 6f 62 61 | 6c 20 6f 6c 64 55 73 65 |ck.globa|l oldUse|
|000009e0| 72 4c 65 76 65 6c 0d 73 | 65 74 20 74 68 65 20 75 |rLevel.s|et the u|
|000009f0| 73 65 72 6c 65 76 65 6c | 20 74 6f 20 6f 6c 64 55 |serlevel| to oldU|
|00000a00| 73 65 72 4c 65 76 65 6c | 0d 69 66 20 68 69 6c 69 |serLevel|.if hili|
|00000a10| 74 65 20 6f 66 20 63 64 | 20 62 75 74 74 6f 6e 20 |te of cd| button |
|00000a20| 22 43 6f 6d 70 61 63 74 | 22 20 6f 66 20 63 64 20 |"Compact|" of cd |
|00000a30| 22 50 72 65 66 73 22 3d | 74 72 75 65 20 74 68 65 |"Prefs"=|true the|
|00000a40| 6e 20 64 6f 4d 65 6e 75 | 20 22 43 6f 6d 70 61 63 |n doMenu| "Compac|
|00000a50| 74 20 73 74 61 63 6b 22 | 0d 73 68 6f 77 20 6d 65 |t stack"|.show me|
|00000a60| 6e 75 62 61 72 0d 70 61 | 73 73 20 63 6c 6f 73 65 |nubar.pa|ss close|
|00000a70| 73 74 61 63 6b 0d 65 6e | 64 20 63 6c 6f 73 65 53 |stack.en|d closeS|
|00000a80| 74 61 63 6b 0d 0d 6f 6e | 20 68 65 6c 70 20 2d 2d |tack..on| help --|
|00000a90| 20 62 79 20 68 69 74 74 | 69 6e 67 20 22 68 65 6c | by hitt|ing "hel|
|00000aa0| 70 22 20 6b 65 79 0d 69 | 66 20 74 68 65 72 65 20 |p" key.i|f there |
|00000ab0| 69 73 20 61 20 63 64 20 | 62 75 74 74 6f 6e 20 22 |is a cd |button "|
|00000ac0| 48 65 6c 70 22 20 74 68 | 65 6e 0d 73 65 6e 64 20 |Help" th|en.send |
|00000ad0| 22 6d 6f 75 73 65 55 70 | 22 20 74 6f 20 63 64 20 |"mouseUp|" to cd |
|00000ae0| 62 75 74 74 6f 6e 20 22 | 48 65 6c 70 22 0d 65 78 |button "|Help".ex|
|00000af0| 69 74 20 68 65 6c 70 0d | 65 6e 64 20 69 66 0d 69 |it help.|end if.i|
|00000b00| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 62 67 20 |f there |is a bg |
|00000b10| 62 75 74 74 6f 6e 20 22 | 48 65 6c 70 22 20 74 68 |button "|Help" th|
|00000b20| 65 6e 0d 73 65 6e 64 20 | 22 6d 6f 75 73 65 55 70 |en.send |"mouseUp|
|00000b30| 22 20 74 6f 20 62 67 20 | 62 75 74 74 6f 6e 20 22 |" to bg |button "|
|00000b40| 48 65 6c 70 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Help".en|d if.end|
|00000b50| 20 68 65 6c 70 0d 0d 6f | 6e 20 68 65 6c 70 65 72 | help..o|n helper|
|00000b60| 0d 67 6c 6f 62 61 6c 20 | 68 65 6c 70 43 61 72 64 |.global |helpCard|
|00000b70| 2c 70 72 65 48 65 6c 70 | 0d 70 75 74 20 74 68 65 |,preHelp|.put the|
|00000b80| 20 6c 6f 6e 67 20 6e 61 | 6d 65 20 6f 66 20 74 68 | long na|me of th|
|00000b90| 69 73 20 63 64 20 69 6e | 74 6f 20 70 72 65 48 65 |is cd in|to preHe|
|00000ba0| 6c 70 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 67 |lp.lock |screen.g|
|00000bb0| 6f 20 63 64 20 68 65 6c | 70 43 61 72 64 20 6f 66 |o cd hel|pCard of|
|00000bc0| 20 73 74 61 63 6b 20 22 | 46 69 6e 61 6e 63 69 61 | stack "|Financia|
|00000bd0| 6c 20 50 6f 72 74 66 6f | 6c 69 6f 20 48 65 6c 70 |l Portfo|lio Help|
|00000be0| 22 20 69 6e 20 61 20 6e | 65 77 20 77 69 6e 64 6f |" in a n|ew windo|
|00000bf0| 77 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |w.unlock| screen.|
|00000c00| 65 6e 64 20 68 65 6c 70 | 65 72 0d 0d 6f 6e 20 67 |end help|er..on g|
|00000c10| 6f 48 6f 6d 65 0d 61 6e | 73 77 65 72 20 22 57 6f |oHome.an|swer "Wo|
|00000c20| 75 6c 64 20 79 6f 75 20 | 6c 69 6b 65 20 74 6f 20 |uld you |like to |
|00000c30| 67 6f 20 74 6f 20 74 68 | 65 20 48 6f 6d 65 20 73 |go to th|e Home s|
|00000c40| 74 61 63 6b 20 6f 72 20 | 51 75 69 74 20 74 6f 20 |tack or |Quit to |
|00000c50| 74 68 65 20 46 69 6e 64 | 65 72 3f 22 20 77 69 74 |the Find|er?" wit|
|00000c60| 68 20 22 63 61 6e 63 65 | 6c 22 20 6f 72 20 22 46 |h "cance|l" or "F|
|00000c70| 69 6e 64 65 72 22 20 6f | 72 20 22 48 6f 6d 65 22 |inder" o|r "Home"|
|00000c80| 0d 63 68 65 63 6b 43 61 | 6e 63 65 6c 20 69 74 0d |.checkCa|ncel it.|
|00000c90| 69 66 20 69 74 3d 22 48 | 6f 6d 65 22 20 74 68 65 |if it="H|ome" the|
|00000ca0| 6e 0d 76 69 73 75 61 6c | 20 69 72 69 73 20 63 6c |n.visual| iris cl|
|00000cb0| 6f 73 65 0d 67 6f 20 48 | 6f 6d 65 0d 65 78 69 74 |ose.go H|ome.exit|
|00000cc0| 20 67 6f 48 6f 6d 65 0d | 65 6e 64 20 69 66 0d 64 | goHome.|end if.d|
|00000cd0| 6f 4d 65 6e 75 20 22 51 | 75 69 74 20 48 79 70 65 |oMenu "Q|uit Hype|
|00000ce0| 72 43 61 72 64 22 0d 65 | 6e 64 20 67 6f 48 6f 6d |rCard".e|nd goHom|
|00000cf0| 65 0d 0d 6f 6e 20 69 6e | 69 74 69 61 6c 69 7a 65 |e..on in|itialize|
|00000d00| 0d 67 6c 6f 62 61 6c 20 | 6c 69 73 74 65 72 2c 73 |.global |lister,s|
|00000d10| 74 6f 63 6b 6c 69 73 74 | 2c 62 61 6e 6b 6c 69 73 |tocklist|,banklis|
|00000d20| 74 2c 6c 6f 61 6e 6c 69 | 73 74 2c 6d 69 73 63 4c |t,loanli|st,miscL|
|00000d30| 69 73 74 2c 6c 69 6e 6b | 6c 69 73 74 2c 62 72 69 |ist,link|list,bri|
|00000d40| 65 66 73 74 6f 63 6b 73 | 0d 73 65 74 20 63 75 72 |efstocks|.set cur|
|00000d50| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 70 75 74 20 |sor to b|usy.put |
|00000d60| 22 66 61 6c 73 65 22 20 | 69 6e 74 6f 20 62 72 69 |"false" |into bri|
|00000d70| 65 66 73 74 6f 63 6b 73 | 0d 2d 2d 2d 20 74 68 65 |efstocks|.--- the|
|00000d80| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 77 69 6c 6c 20 | followi|ng will |
|00000d90| 62 65 20 6d 6f 73 74 20 | 6f 66 74 65 6e 20 64 6f |be most |often do|
|00000da0| 6e 65 3a 0d 69 66 20 66 | 69 65 6c 64 20 22 73 6c |ne:.if f|ield "sl|
|00000db0| 69 73 74 22 20 6f 66 20 | 66 69 72 73 74 20 63 64 |ist" of |first cd|
|00000dc0| ad 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 |.empty t|hen.put |
|00000dd0| 66 69 65 6c 64 20 22 73 | 4c 69 73 74 22 20 6f 66 |field "s|List" of|
|00000de0| 20 66 69 72 73 74 20 63 | 64 20 69 6e 74 6f 20 73 | first c|d into s|
|00000df0| 74 6f 63 6b 6c 69 73 74 | 0d 70 75 74 20 66 69 65 |tocklist|.put fie|
|00000e00| 6c 64 20 22 62 4c 69 73 | 74 22 20 6f 66 20 66 69 |ld "bLis|t" of fi|
|00000e10| 72 73 74 20 63 64 20 69 | 6e 74 6f 20 62 61 6e 6b |rst cd i|nto bank|
|00000e20| 6c 69 73 74 0d 70 75 74 | 20 66 69 65 6c 64 20 22 |list.put| field "|
|00000e30| 6c 4c 69 73 74 22 20 6f | 66 20 66 69 72 73 74 20 |lList" o|f first |
|00000e40| 63 64 20 69 6e 74 6f 20 | 6c 6f 61 6e 6c 69 73 74 |cd into |loanlist|
|00000e50| 0d 70 75 74 20 66 69 65 | 6c 64 20 22 6d 4c 69 73 |.put fie|ld "mLis|
|00000e60| 74 22 20 6f 66 20 66 69 | 72 73 74 20 63 64 20 69 |t" of fi|rst cd i|
|00000e70| 6e 74 6f 20 6d 69 73 63 | 6c 69 73 74 0d 70 75 74 |nto misc|list.put|
|00000e80| 20 66 69 65 6c 64 20 22 | 6c 69 6e 6b 4c 69 73 74 | field "|linkList|
|00000e90| 22 20 6f 66 20 66 69 72 | 73 74 20 63 64 20 69 6e |" of fir|st cd in|
|00000ea0| 74 6f 20 6c 69 6e 6b 6c | 69 73 74 0d 65 78 69 74 |to linkl|ist.exit|
|00000eb0| 20 69 6e 69 74 69 61 6c | 69 7a 65 0d 65 6e 64 20 | initial|ize.end |
|00000ec0| 69 66 0d 2d 2d 2d 0d 70 | 75 74 20 65 6d 70 74 79 |if.---.p|ut empty|
|00000ed0| 20 69 6e 74 6f 20 6c 69 | 73 74 65 72 0d 73 65 74 | into li|ster.set|
|00000ee0| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00000ef0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 75 73 68 |lock scr|een.push|
|00000f00| 20 63 64 0d 73 65 74 20 | 6c 6f 63 6b 6d 65 73 73 | cd.set |lockmess|
|00000f10| 61 67 65 73 20 74 6f 20 | 74 72 75 65 0d 63 68 65 |ages to |true.che|
|00000f20| 63 6b 73 74 6f 63 6b 73 | 0d 63 68 65 63 6b 62 61 |ckstocks|.checkba|
|00000f30| 6e 6b 73 0d 63 68 65 63 | 6b 6c 6f 61 6e 73 0d 63 |nks.chec|kloans.c|
|00000f40| 68 65 63 6b 4d 69 73 63 | 73 0d 70 6f 70 20 63 64 |heckMisc|s.pop cd|
|00000f50| 0d 68 69 64 65 20 6d 73 | 67 0d 65 6e 64 20 69 6e |.hide ms|g.end in|
|00000f60| 69 74 69 61 6c 69 7a 65 | 0d 0d 6f 6e 20 70 6f 70 |itialize|..on pop|
|00000f70| 75 70 0d 67 6c 6f 62 61 | 6c 20 6c 69 73 74 65 72 |up.globa|l lister|
|00000f80| 20 2d 2d 20 6d 75 73 74 | 20 62 65 20 67 6c 6f 62 | -- must| be glob|
|00000f90| 61 6c 20 66 6f 72 20 4e | 54 46 50 6f 70 55 70 0d |al for N|TFPopUp.|
|00000fa0| 67 65 74 20 4e 54 46 50 | 6f 70 55 70 28 6c 65 66 |get NTFP|opUp(lef|
|00000fb0| 74 20 6f 66 20 74 61 72 | 67 65 74 2d 32 2c 74 6f |t of tar|get-2,to|
|00000fc0| 70 20 6f 66 20 74 61 72 | 67 65 74 2b 31 39 2c 22 |p of tar|get+19,"|
|00000fd0| 6c 69 73 74 65 72 22 2c | 22 47 6c 6f 62 61 6c 22 |lister",|"Global"|
|00000fe0| 29 0d 69 66 20 69 74 3d | 30 20 74 68 65 6e 20 65 |).if it=|0 then e|
|00000ff0| 78 69 74 20 70 6f 70 75 | 70 0d 70 75 74 20 6c 61 |xit popu|p.put la|
|00001000| 73 74 20 6c 69 6e 65 20 | 6f 66 20 69 74 20 69 6e |st line |of it in|
|00001010| 74 6f 20 70 69 63 6b 65 | 64 0d 69 66 20 70 69 63 |to picke|d.if pic|
|00001020| 6b 65 64 20 63 6f 6e 74 | 61 69 6e 73 20 22 a5 22 |ked cont|ains "."|
|00001030| 20 74 68 65 6e 20 2d 2d | 20 a5 20 6e 65 77 20 69 | then --| . new i|
|00001040| 74 65 6d 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |tem.put |empty in|
|00001050| 74 6f 20 66 69 72 73 74 | 20 63 68 61 72 20 6f 66 |to first| char of|
|00001060| 20 70 69 63 6b 65 64 0d | 70 75 74 20 65 6d 70 74 | picked.|put empt|
|00001070| 79 20 69 6e 74 6f 20 66 | 69 72 73 74 20 63 68 61 |y into f|irst cha|
|00001080| 72 20 6f 66 20 70 69 63 | 6b 65 64 0d 70 75 74 20 |r of pic|ked.put |
|00001090| 65 6d 70 74 79 20 69 6e | 74 6f 20 77 6f 72 64 20 |empty in|to word |
|000010a0| 31 20 6f 66 20 70 69 63 | 6b 65 64 20 2d 2d 20 65 |1 of pic|ked -- e|
|000010b0| 72 61 73 65 20 22 4e 65 | 77 22 0d 70 75 74 20 65 |rase "Ne|w".put e|
|000010c0| 6d 70 74 79 20 69 6e 74 | 6f 20 66 69 72 73 74 20 |mpty int|o first |
|000010d0| 63 68 61 72 20 6f 66 20 | 70 69 63 6b 65 64 20 2d |char of |picked -|
|000010e0| 2d 20 65 72 61 73 65 20 | 73 70 61 63 65 0d 6d 61 |- erase |space.ma|
|000010f0| 6b 65 4e 65 77 20 70 69 | 63 6b 65 64 0d 65 78 69 |keNew pi|cked.exi|
|00001100| 74 20 70 6f 70 75 70 0d | 65 6e 64 20 69 66 0d 69 |t popup.|end if.i|
|00001110| 66 20 70 69 63 6b 65 64 | 3d 22 53 74 6f 63 6b 20 |f picked|="Stock |
|00001120| 70 6f 72 74 66 6f 6c 69 | 6f 20 73 75 6d 6d 61 72 |portfoli|o summar|
|00001130| 79 22 20 74 68 65 6e 0d | 76 69 73 75 61 6c 20 63 |y" then.|visual c|
|00001140| 68 65 63 6b 65 72 62 6f | 61 72 64 20 66 61 73 74 |heckerbo|ard fast|
|00001150| 0d 67 6f 20 63 64 20 73 | 74 6f 63 6b 70 6f 72 74 |.go cd s|tockport|
|00001160| 0d 65 78 69 74 20 70 6f | 70 75 70 0d 65 6e 64 20 |.exit po|pup.end |
|00001170| 69 66 0d 76 69 73 75 61 | 6c 20 69 72 69 73 20 6f |if.visua|l iris o|
|00001180| 70 65 6e 0d 67 6f 20 63 | 64 20 70 69 63 6b 65 64 |pen.go c|d picked|
|00001190| 0d 65 6e 64 20 70 6f 70 | 75 70 0d 0d 6f 6e 20 6d |.end pop|up..on m|
|000011a0| 69 73 63 70 6f 70 75 70 | 0d 67 6c 6f 62 61 6c 20 |iscpopup|.global |
|000011b0| 6c 69 73 74 65 72 0d 67 | 65 74 20 4e 54 46 50 6f |lister.g|et NTFPo|
|000011c0| 70 55 70 28 6c 65 66 74 | 20 6f 66 20 74 61 72 67 |pUp(left| of targ|
|000011d0| 65 74 2d 32 2c 74 6f 70 | 20 6f 66 20 74 61 72 67 |et-2,top| of targ|
|000011e0| 65 74 2b 31 39 2c 22 6c | 69 73 74 65 72 22 2c 22 |et+19,"l|ister","|
|000011f0| 47 6c 6f 62 61 6c 22 29 | 0d 69 66 20 69 74 3d 30 |Global")|.if it=0|
|00001200| 20 74 68 65 6e 20 65 78 | 69 74 20 6d 69 73 63 70 | then ex|it miscp|
|00001210| 6f 70 75 70 0d 70 75 74 | 20 6c 61 73 74 20 6c 69 |opup.put| last li|
|00001220| 6e 65 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 70 69 |ne of it| into pi|
|00001230| 63 6b 65 64 0d 69 66 20 | 70 69 63 6b 65 64 20 63 |cked.if |picked c|
|00001240| 6f 6e 74 61 69 6e 73 20 | 22 c7 22 20 74 68 65 6e |ontains |"." then|
|00001250| 20 65 78 69 74 20 6d 69 | 73 63 70 6f 70 55 70 0d | exit mi|scpopUp.|
|00001260| 69 66 20 70 69 63 6b 65 | 64 20 63 6f 6e 74 61 69 |if picke|d contai|
|00001270| 6e 73 20 22 a1 22 20 74 | 68 65 6e 20 2d 2d 20 64 |ns "." t|hen -- d|
|00001280| 65 74 61 69 6c 63 61 72 | 64 0d 70 75 74 20 65 6d |etailcar|d.put em|
|00001290| 70 74 79 20 69 6e 74 6f | 20 66 69 72 73 74 20 63 |pty into| first c|
|000012a0| 68 61 72 20 6f 66 20 70 | 69 63 6b 65 64 20 2d 2d |har of p|icked --|
|000012b0| 20 65 72 61 73 65 20 a1 | 0d 76 69 73 75 61 6c 20 | erase .|.visual |
|000012c0| 69 72 69 73 20 6f 70 65 | 6e 0d 67 6f 20 63 64 20 |iris ope|n.go cd |
|000012d0| 22 64 2e 22 26 70 69 63 | 6b 65 64 0d 65 78 69 74 |"d."&pic|ked.exit|
|000012e0| 20 6d 69 73 63 70 6f 70 | 75 70 0d 65 6e 64 20 69 | miscpop|up.end i|
|000012f0| 66 0d 69 66 20 70 69 63 | 6b 65 64 20 63 6f 6e 74 |f.if pic|ked cont|
|00001300| 61 69 6e 73 20 22 a5 22 | 20 74 68 65 6e 0d 70 75 |ains "."| then.pu|
|00001310| 74 20 22 6d 69 73 63 22 | 20 69 6e 74 6f 20 70 69 |t "misc"| into pi|
|00001320| 63 6b 65 64 0d 6d 61 6b | 65 4e 65 77 20 70 69 63 |cked.mak|eNew pic|
|00001330| 6b 65 64 0d 65 78 69 74 | 20 6d 69 73 63 70 6f 70 |ked.exit| miscpop|
|00001340| 75 70 0d 65 6e 64 20 69 | 66 0d 76 69 73 75 61 6c |up.end i|f.visual|
|00001350| 20 69 72 69 73 20 6f 70 | 65 6e 0d 67 6f 20 63 64 | iris op|en.go cd|
|00001360| 20 70 69 63 6b 65 64 0d | 65 6e 64 20 6d 69 73 63 | picked.|end misc|
|00001370| 70 6f 70 75 70 0d 0d 6f | 6e 20 63 68 6f 73 65 6e |popup..o|n chosen|
|00001380| 0d 73 65 6c 65 63 74 20 | 74 68 65 20 63 6c 69 63 |.select |the clic|
|00001390| 6b 4c 69 6e 65 0d 70 75 | 74 20 74 68 65 20 73 65 |kLine.pu|t the se|
|000013a0| 6c 65 63 74 65 64 54 65 | 78 74 20 69 6e 74 6f 20 |lectedTe|xt into |
|000013b0| 74 6f 70 69 63 50 69 63 | 6b 65 64 0d 76 69 73 75 |topicPic|ked.visu|
|000013c0| 61 6c 20 69 72 69 73 20 | 6f 70 65 6e 0d 67 6f 20 |al iris |open.go |
|000013d0| 63 64 20 74 6f 70 69 63 | 50 69 63 6b 65 64 0d 65 |cd topic|Picked.e|
|000013e0| 6e 64 20 63 68 6f 73 65 | 6e 0d 0d 6f 6e 20 64 65 |nd chose|n..on de|
|000013f0| 6c 65 74 65 54 68 69 6e | 67 0d 41 6e 73 77 65 72 |leteThin|g.Answer|
|00001400| 20 22 44 6f 20 79 6f 75 | 20 77 69 73 68 20 74 6f | "Do you| wish to|
|00001410| 20 64 65 6c 65 74 65 20 | 6a 75 73 74 20 74 68 69 | delete |just thi|
|00001420| 73 20 69 74 65 6d 20 6f | 72 20 6f 74 68 65 72 73 |s item o|r others|
|00001430| 3f 22 20 77 69 74 68 20 | 22 63 61 6e 63 65 6c 22 |?" with |"cancel"|
|00001440| 20 6f 72 20 22 6f 74 68 | 65 72 73 22 20 6f 72 20 | or "oth|ers" or |
|00001450| 22 6a 75 73 74 20 74 68 | 69 73 22 0d 63 68 65 63 |"just th|is".chec|
|00001460| 6b 43 61 6e 63 65 6c 20 | 69 74 0d 69 66 20 69 74 |kCancel |it.if it|
|00001470| 3d 22 6f 74 68 65 72 73 | 22 20 74 68 65 6e 0d 73 |="others|" then.s|
|00001480| 65 6c 65 63 74 54 72 61 | 73 68 0d 65 78 69 74 20 |electTra|sh.exit |
|00001490| 64 65 6c 65 74 65 54 68 | 69 6e 67 0d 65 6e 64 20 |deleteTh|ing.end |
|000014a0| 69 66 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |if.put t|he short|
|000014b0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 64 | name of| this cd|
|000014c0| 20 69 6e 74 6f 20 63 63 | 0d 70 75 74 20 74 68 65 | into cc|.put the|
|000014d0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|000014e0| 68 69 73 20 62 67 20 69 | 6e 74 6f 20 62 62 0d 70 |his bg i|nto bb.p|
|000014f0| 75 74 20 22 41 72 65 20 | 79 6f 75 20 72 65 61 6c |ut "Are |you real|
|00001500| 6c 79 20 73 75 72 65 20 | 79 6f 75 20 77 61 6e 74 |ly sure |you want|
|00001510| 20 74 6f 20 64 65 6c 65 | 74 65 20 d2 22 26 63 63 | to dele|te ."&cc|
|00001520| 26 22 d3 3f 22 20 69 6e | 74 6f 20 71 71 0d 70 75 |&".?" in|to qq.pu|
|00001530| 74 20 72 65 74 75 72 6e | 20 26 20 72 65 74 75 72 |t return| & retur|
|00001540| 6e 20 26 22 28 49 74 20 | 63 61 6e d5 74 20 62 65 |n &"(It |can.t be|
|00001550| 20 72 65 63 6f 76 65 72 | 65 64 20 69 66 20 79 6f | recover|ed if yo|
|00001560| 75 20 64 65 6c 65 74 65 | 20 69 74 2e 29 22 20 61 |u delete| it.)" a|
|00001570| 66 74 65 72 20 71 71 0d | 61 6e 73 77 65 72 20 71 |fter qq.|answer q|
|00001580| 71 20 77 69 74 68 20 22 | 44 4f 4e d5 54 20 64 65 |q with "|DON.T de|
|00001590| 6c 65 74 65 22 20 6f 72 | 20 22 44 65 6c 65 74 65 |lete" or| "Delete|
|000015a0| 22 0d 69 66 20 69 74 3d | 22 44 65 6c 65 74 65 22 |".if it=|"Delete"|
|000015b0| 20 74 68 65 6e 0d 6c 6f | 63 6b 20 73 63 72 65 65 | then.lo|ck scree|
|000015c0| 6e 0d 73 65 74 20 6c 6f | 63 6b 6d 65 73 73 61 67 |n.set lo|ckmessag|
|000015d0| 65 73 20 74 6f 20 74 72 | 75 65 0d 73 65 74 20 63 |es to tr|ue.set c|
|000015e0| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 64 6f |ursor to| busy.do|
|000015f0| 4d 65 6e 75 20 22 44 65 | 6c 65 74 65 20 43 61 72 |Menu "De|lete Car|
|00001600| 64 22 0d 69 66 20 62 62 | 3d 22 73 74 6f 63 6b 73 |d".if bb|="stocks|
|00001610| 22 20 74 68 65 6e 20 63 | 68 65 63 6b 73 74 6f 63 |" then c|heckstoc|
|00001620| 6b 73 42 72 69 65 66 0d | 69 66 20 62 62 3d 22 62 |ksBrief.|if bb="b|
|00001630| 61 6e 6b 73 22 20 74 68 | 65 6e 20 63 68 65 63 6b |anks" th|en check|
|00001640| 62 61 6e 6b 73 0d 69 66 | 20 62 62 3d 22 6c 6f 61 |banks.if| bb="loa|
|00001650| 6e 73 22 20 74 68 65 6e | 20 63 68 65 63 6b 6c 6f |ns" then| checklo|
|00001660| 61 6e 73 0d 69 66 20 62 | 62 3d 22 4d 69 73 63 73 |ans.if b|b="Miscs|
|00001670| 22 20 74 68 65 6e 20 63 | 68 65 63 6b 4d 69 73 63 |" then c|heckMisc|
|00001680| 73 0d 67 6f 20 66 69 72 | 73 74 20 63 64 0d 65 6e |s.go fir|st cd.en|
|00001690| 64 20 69 66 0d 68 69 64 | 65 20 6d 73 67 0d 65 6e |d if.hid|e msg.en|
|000016a0| 64 20 64 65 6c 65 74 65 | 54 68 69 6e 67 0d 0d 6f |d delete|Thing..o|
|000016b0| 6e 20 73 65 6c 65 63 74 | 54 72 61 73 68 0d 67 6c |n select|Trash.gl|
|000016c0| 6f 62 61 6c 20 74 72 61 | 73 68 4c 69 73 74 2c 62 |obal tra|shList,b|
|000016d0| 72 69 65 66 73 74 6f 63 | 6b 73 0d 6d 61 6b 65 54 |riefstoc|ks.makeT|
|000016e0| 72 61 73 68 67 6c 6f 62 | 61 6c 0d 70 75 74 20 4e |rashglob|al.put N|
|000016f0| 54 46 4c 69 73 74 28 22 | 74 72 61 73 68 4c 69 73 |TFList("|trashLis|
|00001700| 74 22 2c 30 2c 22 47 6c | 6f 62 61 6c 22 2c 22 53 |t",0,"Gl|obal","S|
|00001710| 6f 72 74 22 2c 22 6e 6f | 4c 69 6e 65 4e 75 6d 22 |ort","no|LineNum"|
|00001720| 2c 22 54 72 61 73 68 20 | 41 4c 4c 22 2c 2c 22 53 |,"Trash |ALL",,"S|
|00001730| 68 69 66 74 2d 63 6c 69 | 63 6b 20 69 74 65 6d 73 |hift-cli|ck items|
|00001740| 20 74 6f 20 44 45 4c 45 | 54 45 3a 22 29 20 69 6e | to DELE|TE:") in|
|00001750| 74 6f 20 64 65 6c 65 74 | 65 4c 69 73 74 0d 69 66 |to delet|eList.if|
|00001760| 20 64 65 6c 65 74 65 4c | 69 73 74 3d 22 54 72 61 | deleteL|ist="Tra|
|00001770| 73 68 20 61 6c 6c 22 20 | 74 68 65 6e 20 70 75 74 |sh all" |then put|
|00001780| 20 74 72 61 73 68 4c 69 | 73 74 20 69 6e 74 6f 20 | trashLi|st into |
|00001790| 64 65 6c 65 74 65 4c 69 | 73 74 0d 70 75 74 20 65 |deleteLi|st.put e|
|000017a0| 6d 70 74 79 20 69 6e 74 | 6f 20 74 72 61 73 68 4c |mpty int|o trashL|
|000017b0| 69 73 74 0d 69 66 20 28 | 64 65 6c 65 74 65 4c 69 |ist.if (|deleteLi|
|000017c0| 73 74 3d 22 63 61 6e 63 | 65 6c 22 29 20 6f 72 20 |st="canc|el") or |
|000017d0| 28 64 65 6c 65 74 65 4c | 69 73 74 3d 65 6d 70 74 |(deleteL|ist=empt|
|000017e0| 79 29 20 74 68 65 6e 20 | 65 78 69 74 20 73 65 6c |y) then |exit sel|
|000017f0| 65 63 74 74 72 61 73 68 | 0d 69 66 20 28 74 68 65 |ecttrash|.if (the|
|00001800| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 68 61 72 73 | number |of chars|
|00001810| 20 6f 66 20 64 65 6c 65 | 74 65 4c 69 73 74 29 20 | of dele|teList) |
|00001820| 3c 20 32 30 30 20 74 68 | 65 6e 0d 70 75 74 20 22 |< 200 th|en.put "|
|00001830| 41 72 65 20 79 6f 75 20 | 73 75 72 65 20 79 6f 75 |Are you |sure you|
|00001840| 20 77 61 6e 74 20 74 6f | 20 64 65 6c 65 74 65 20 | want to| delete |
|00001850| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 3f 22 26 |the foll|owing?"&|
|00001860| 72 65 74 75 72 6e 26 72 | 65 74 75 72 6e 26 64 65 |return&r|eturn&de|
|00001870| 6c 65 74 65 4c 69 73 74 | 20 69 6e 74 6f 20 71 71 |leteList| into qq|
|00001880| 0d 65 6c 73 65 0d 70 75 | 74 20 22 41 72 65 20 79 |.else.pu|t "Are y|
|00001890| 6f 75 20 73 75 72 65 20 | 79 6f 75 20 77 61 6e 74 |ou sure |you want|
|000018a0| 20 74 6f 20 64 65 6c 65 | 74 65 20 61 6c 6c 20 6f | to dele|te all o|
|000018b0| 66 20 74 68 6f 73 65 20 | 69 74 65 6d 73 3f 22 20 |f those |items?" |
|000018c0| 69 6e 74 6f 20 71 71 0d | 65 6e 64 20 69 66 0d 41 |into qq.|end if.A|
|000018d0| 6e 73 77 65 72 20 71 71 | 20 77 69 74 68 20 22 63 |nswer qq| with "c|
|000018e0| 61 6e 63 65 6c 22 20 6f | 72 20 22 44 65 6c 65 74 |ancel" o|r "Delet|
|000018f0| 65 22 0d 63 68 65 63 6b | 43 61 6e 63 65 6c 20 69 |e".check|Cancel i|
|00001900| 74 0d 61 6e 73 77 65 72 | 20 22 44 65 6c 65 74 69 |t.answer| "Deleti|
|00001910| 6e 67 20 69 73 20 4e 4f | 54 20 52 45 56 45 52 53 |ng is NO|T REVERS|
|00001920| 49 42 4c 45 20 61 6e 64 | 20 6d 61 79 20 74 61 6b |IBLE and| may tak|
|00001930| 65 20 61 20 66 65 77 20 | 6d 6f 6d 65 6e 74 73 20 |e a few |moments |
|00001940| 74 6f 20 63 6f 6d 70 6c | 65 74 65 20 74 68 65 20 |to compl|ete the |
|00001950| 70 72 6f 63 65 73 73 2e | 22 26 72 65 74 75 72 6e |process.|"&return|
|00001960| 26 72 65 74 75 72 6e 26 | 22 53 68 6f 75 6c 64 20 |&return&|"Should |
|00001970| 49 20 73 74 69 6c 6c 20 | 64 65 6c 65 74 65 3f 22 |I still |delete?"|
|00001980| 20 77 69 74 68 20 22 63 | 61 6e 63 65 6c 22 20 6f | with "c|ancel" o|
|00001990| 72 20 22 44 65 6c 65 74 | 65 22 0d 63 68 65 63 6b |r "Delet|e".check|
|000019a0| 43 61 6e 63 65 6c 20 69 | 74 0d 69 66 20 69 74 3d |Cancel i|t.if it=|
|000019b0| 22 44 65 6c 65 74 65 22 | 20 74 68 65 6e 0d 73 65 |"Delete"| then.se|
|000019c0| 74 20 6c 6f 63 6b 6d 65 | 73 73 61 67 65 73 20 74 |t lockme|ssages t|
|000019d0| 6f 20 74 72 75 65 0d 6c | 6f 63 6b 20 73 63 72 65 |o true.l|ock scre|
|000019e0| 65 6e 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |en.put e|mpty int|
|000019f0| 6f 20 62 67 4c 69 73 74 | 20 2d 2d 20 74 6f 20 73 |o bgList| -- to s|
|00001a00| 65 65 20 77 68 61 74 20 | 74 6f 20 63 68 65 63 6b |ee what |to check|
|00001a10| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 3d 31 |.repeat |with x=1|
|00001a20| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00001a30| 66 20 6c 69 6e 65 73 20 | 6f 66 20 64 65 6c 65 74 |f lines |of delet|
|00001a40| 65 4c 69 73 74 0d 70 75 | 74 20 6c 69 6e 65 20 78 |eList.pu|t line x|
|00001a50| 20 6f 66 20 64 65 6c 65 | 74 65 4c 69 73 74 20 69 | of dele|teList i|
|00001a60| 6e 74 6f 20 63 61 72 64 | 65 72 0d 70 75 74 20 22 |nto card|er.put "|
|00001a70| 44 65 6c 65 74 69 6e 67 | 3a 20 22 26 63 61 72 64 |Deleting|: "&card|
|00001a80| 65 72 0d 67 6f 20 63 64 | 20 63 61 72 64 65 72 0d |er.go cd| carder.|
|00001a90| 70 75 74 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |put the |short na|
|00001aa0| 6d 65 20 6f 66 20 74 68 | 69 73 20 62 67 20 69 6e |me of th|is bg in|
|00001ab0| 74 6f 20 62 67 67 0d 69 | 66 20 62 67 67 20 69 73 |to bgg.i|f bgg is|
|00001ac0| 20 6e 6f 74 20 69 6e 20 | 62 67 4c 69 73 74 20 74 | not in |bgList t|
|00001ad0| 68 65 6e 20 70 75 74 20 | 62 67 67 26 72 65 74 75 |hen put |bgg&retu|
|00001ae0| 72 6e 20 61 66 74 65 72 | 20 62 67 4c 69 73 74 0d |rn after| bgList.|
|00001af0| 64 6f 4d 65 6e 75 20 22 | 44 65 6c 65 74 65 20 63 |doMenu "|Delete c|
|00001b00| 61 72 64 22 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |ard".end| repeat.|
|00001b10| 69 66 20 22 73 74 6f 63 | 6b 22 20 69 73 20 69 6e |if "stoc|k" is in|
|00001b20| 20 62 67 4c 69 73 74 20 | 74 68 65 6e 20 70 75 74 | bgList |then put|
|00001b30| 20 22 74 72 75 65 22 20 | 69 6e 74 6f 20 62 72 69 | "true" |into bri|
|00001b40| 65 66 73 74 6f 63 6b 73 | 0d 72 65 70 65 61 74 20 |efstocks|.repeat |
|00001b50| 77 69 74 68 20 78 3d 31 | 20 74 6f 20 74 68 65 20 |with x=1| to the |
|00001b60| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00001b70| 6f 66 20 62 67 6c 69 73 | 74 0d 70 75 74 20 6c 69 |of bglis|t.put li|
|00001b80| 6e 65 20 78 20 6f 66 20 | 62 67 4c 69 73 74 20 69 |ne x of |bgList i|
|00001b90| 6e 74 6f 20 63 68 65 63 | 6b 65 72 0d 64 6f 20 22 |nto chec|ker.do "|
|00001ba0| 63 68 65 63 6b 22 26 63 | 68 65 63 6b 65 72 20 2d |check"&c|hecker -|
|00001bb0| 2d 20 63 68 65 63 6b 20 | 6f 6e 6c 79 20 74 68 65 |- check |only the|
|00001bc0| 20 70 72 6f 70 65 72 20 | 62 67 73 0d 65 6e 64 20 | proper |bgs.end |
|00001bd0| 72 65 70 65 61 74 0d 70 | 75 74 20 65 6d 70 74 79 |repeat.p|ut empty|
|00001be0| 20 69 6e 74 6f 20 62 72 | 69 65 66 73 74 6f 63 6b | into br|iefstock|
|00001bf0| 73 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |s.put em|pty into|
|00001c00| 20 6d 73 67 0d 68 69 64 | 65 20 6d 73 67 0d 67 6f | msg.hid|e msg.go|
|00001c10| 20 66 69 72 73 74 20 63 | 64 0d 75 6e 6c 6f 63 6b | first c|d.unlock|
|00001c20| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 69 72 69 | screen |with iri|
|00001c30| 73 20 6f 70 65 6e 0d 65 | 6e 64 20 69 66 0d 65 6e |s open.e|nd if.en|
|00001c40| 64 20 73 65 6c 65 63 74 | 54 72 61 73 68 0d 0d 6f |d select|Trash..o|
|00001c50| 6e 20 6d 61 6b 65 54 72 | 61 73 68 67 6c 6f 62 61 |n makeTr|ashgloba|
|00001c60| 6c 0d 67 6c 6f 62 61 6c | 20 74 72 61 73 68 4c 69 |l.global| trashLi|
|00001c70| 73 74 0d 70 75 74 20 22 | 53 74 6f 63 6b 73 2c 62 |st.put "|Stocks,b|
|00001c80| 61 6e 6b 73 2c 6c 6f 61 | 6e 73 2c 6d 69 73 63 73 |anks,loa|ns,miscs|
|00001c90| 22 20 69 6e 74 6f 20 62 | 67 6c 69 73 74 0d 70 75 |" into b|glist.pu|
|00001ca0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 74 72 61 |t empty |into tra|
|00001cb0| 73 68 4c 69 73 74 0d 72 | 65 70 65 61 74 20 77 69 |shList.r|epeat wi|
|00001cc0| 74 68 20 78 3d 31 20 74 | 6f 20 34 0d 73 65 74 20 |th x=1 t|o 4.set |
|00001cd0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 70 |cursor t|o busy.p|
|00001ce0| 75 74 20 69 74 65 6d 20 | 78 20 6f 66 20 62 67 6c |ut item |x of bgl|
|00001cf0| 69 73 74 20 69 6e 74 6f | 20 62 67 67 0d 72 65 70 |ist into| bgg.rep|
|00001d00| 65 61 74 20 77 69 74 68 | 20 79 3d 32 20 74 6f 20 |eat with| y=2 to |
|00001d10| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 64 |the numb|er of cd|
|00001d20| 73 20 6f 66 20 62 67 20 | 62 67 67 0d 70 75 74 20 |s of bg |bgg.put |
|00001d30| 28 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 |(the sho|rt name |
|00001d40| 6f 66 20 63 64 20 79 20 | 6f 66 20 62 67 20 62 67 |of cd y |of bg bg|
|00001d50| 67 29 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |g) & ret|urn afte|
|00001d60| 72 20 74 72 61 73 68 4c | 69 73 74 0d 65 6e 64 20 |r trashL|ist.end |
|00001d70| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 70 65 61 |repeat.e|nd repea|
|00001d80| 74 0d 65 6e 64 20 6d 61 | 6b 65 54 72 61 73 68 67 |t.end ma|keTrashg|
|00001d90| 6c 6f 62 61 6c 0d 0d 6f | 6e 20 69 74 65 6d 63 68 |lobal..o|n itemch|
|00001da0| 65 63 6b 65 72 0d 67 6c | 6f 62 61 6c 20 69 74 65 |ecker.gl|obal ite|
|00001db0| 6d 6c 69 6e 65 2c 69 74 | 65 6d 63 61 72 64 2c 69 |mline,it|emcard,i|
|00001dc0| 74 65 6d 63 68 65 63 6b | 0d 70 75 74 20 74 68 65 |temcheck|.put the|
|00001dd0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00001de0| 68 69 73 20 62 67 20 69 | 6e 74 6f 20 62 67 67 0d |his bg i|nto bgg.|
|00001df0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 6c |put empt|y into l|
|00001e00| 61 73 74 20 63 68 61 72 | 20 6f 66 20 62 67 67 0d |ast char| of bgg.|
|00001e10| 70 75 74 20 22 79 22 20 | 69 6e 74 6f 20 69 74 65 |put "y" |into ite|
|00001e20| 6d 63 68 65 63 6b 20 2d | 2d 20 74 65 6c 6c 73 20 |mcheck -|- tells |
|00001e30| 73 79 73 74 65 6d 20 77 | 65 27 72 65 20 63 68 65 |system w|e're che|
|00001e40| 63 6b 69 6e 67 0d 73 65 | 6c 65 63 74 20 74 68 65 |cking.se|lect the|
|00001e50| 20 63 6c 69 63 6b 6c 69 | 6e 65 0d 70 75 74 20 77 | clickli|ne.put w|
|00001e60| 6f 72 64 20 32 20 6f 66 | 20 74 68 65 20 63 6c 69 |ord 2 of| the cli|
|00001e70| 63 6b 6c 69 6e 65 20 69 | 6e 74 6f 20 69 74 65 6d |ckline i|nto item|
|00001e80| 6c 69 6e 65 0d 70 75 74 | 20 74 68 65 20 6e 61 6d |line.put| the nam|
|00001e90| 65 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 6e 74 |e of thi|s cd int|
|00001ea0| 6f 20 69 74 65 6d 63 61 | 72 64 0d 70 75 74 20 66 |o itemca|rd.put f|
|00001eb0| 69 65 6c 64 20 62 67 67 | 20 69 6e 74 6f 20 69 74 |ield bgg| into it|
|00001ec0| 65 6d 6e 61 6d 65 0d 70 | 75 74 20 6c 69 6e 65 20 |emname.p|ut line |
|00001ed0| 69 74 65 6d 6c 69 6e 65 | 20 6f 66 20 62 67 20 66 |itemline| of bg f|
|00001ee0| 69 65 6c 64 20 22 68 69 | 64 64 65 6e 69 74 65 6d |ield "hi|ddenitem|
|00001ef0| 73 22 20 69 6e 74 6f 20 | 74 65 73 74 0d 69 66 20 |s" into |test.if |
|00001f00| 74 65 73 74 3d 65 6d 70 | 74 79 20 74 68 65 6e 20 |test=emp|ty then |
|00001f10| 65 78 69 74 20 69 74 65 | 6d 63 68 65 63 6b 65 72 |exit ite|mchecker|
|00001f20| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 73 65 74 |.lock sc|reen.set|
|00001f30| 20 6c 6f 63 6b 6d 65 73 | 73 61 67 65 73 20 74 6f | lockmes|sages to|
|00001f40| 20 74 72 75 65 0d 67 6f | 20 63 64 20 22 69 74 65 | true.go| cd "ite|
|00001f50| 6d 54 72 61 6e 73 22 0d | 70 75 74 20 69 74 65 6d |mTrans".|put item|
|00001f60| 6e 61 6d 65 20 69 6e 74 | 6f 20 62 67 20 66 69 65 |name int|o bg fie|
|00001f70| 6c 64 20 22 6e 61 6d 65 | 22 0d 70 75 74 20 69 74 |ld "name|".put it|
|00001f80| 65 6d 20 31 20 6f 66 20 | 74 65 73 74 20 69 6e 74 |em 1 of |test int|
|00001f90| 6f 20 66 69 65 6c 64 20 | 22 64 61 74 65 22 0d 70 |o field |"date".p|
|00001fa0| 75 74 20 69 74 65 6d 20 | 32 20 6f 66 20 74 65 73 |ut item |2 of tes|
|00001fb0| 74 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 6e 6f |t into f|ield "no|
|00001fc0| 74 65 22 0d 70 75 74 20 | 69 74 65 6d 20 33 20 6f |te".put |item 3 o|
|00001fd0| 66 20 74 65 73 74 20 69 | 6e 74 6f 20 66 69 65 6c |f test i|nto fiel|
|00001fe0| 64 20 22 61 6d 6f 75 6e | 74 22 0d 73 68 6f 77 20 |d "amoun|t".show |
|00001ff0| 62 67 20 62 75 74 74 6f | 6e 20 22 65 72 61 73 65 |bg butto|n "erase|
|00002000| 22 0d 73 68 6f 77 20 66 | 69 65 6c 64 20 22 65 64 |".show f|ield "ed|
|00002010| 69 74 22 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |it".unlo|ck scree|
|00002020| 6e 20 77 69 74 68 20 76 | 69 73 75 61 6c 20 62 61 |n with v|isual ba|
|00002030| 72 6e 20 64 6f 6f 72 20 | 6f 70 65 6e 0d 65 6e 64 |rn door |open.end|
|00002040| 20 69 74 65 6d 63 68 65 | 63 6b 65 72 0d 0d 6f 6e | itemche|cker..on|
|00002050| 20 63 6f 75 6e 74 73 68 | 61 72 65 73 0d 6c 6f 63 | countsh|ares.loc|
|00002060| 6b 20 73 63 72 65 65 6e | 0d 73 65 74 20 63 75 72 |k screen|.set cur|
|00002070| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 70 75 74 20 |sor to b|usy.put |
|00002080| 22 64 69 76 2c 63 2e 67 | 2e 2c 72 2d 64 69 76 2c |"div,c.g|.,r-div,|
|00002090| 72 2d 63 2e 67 2e 22 20 | 69 6e 74 6f 20 74 79 70 |r-c.g." |into typ|
|000020a0| 65 72 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 73 73 |er.put 0| into ss|
|000020b0| 20 2d 2d 20 23 20 73 68 | 61 72 65 73 0d 70 75 74 | -- # sh|ares.put|
|000020c0| 20 30 20 69 6e 74 6f 20 | 76 76 20 2d 2d 20 63 61 | 0 into |vv -- ca|
|000020d0| 73 68 20 69 6e 76 6f 6c | 76 65 64 0d 70 75 74 20 |sh invol|ved.put |
|000020e0| 30 20 69 6e 74 6f 20 62 | 75 79 63 6f 6d 6d 0d 70 |0 into b|uycomm.p|
|000020f0| 75 74 20 30 20 69 6e 74 | 6f 20 73 65 6c 6c 63 6f |ut 0 int|o sellco|
|00002100| 6d 6d 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 74 63 |mm.put 0| into tc|
|00002110| 6f 6d 6d 20 2d 2d 20 74 | 6f 74 61 6c 20 63 6f 6d |omm -- t|otal com|
|00002120| 6d 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 74 64 69 |m.put 0 |into tdi|
|00002130| 76 20 2d 2d 20 74 6f 74 | 61 6c 20 64 69 73 74 72 |v -- tot|al distr|
|00002140| 69 62 20 64 69 76 73 2f | 63 67 0d 70 75 74 20 30 |ib divs/|cg.put 0|
|00002150| 20 69 6e 74 6f 20 63 61 | 73 68 49 6e 0d 70 75 74 | into ca|shIn.put|
|00002160| 20 30 20 69 6e 74 6f 20 | 63 61 73 68 4f 75 74 0d | 0 into |cashOut.|
|00002170| 70 75 74 20 30 20 69 6e | 74 6f 20 74 67 61 69 6e |put 0 in|to tgain|
|00002180| 20 2d 2d 20 74 6f 74 61 | 6c 20 63 67 20 66 72 6f | -- tota|l cg fro|
|00002190| 6d 20 72 65 61 6c 20 73 | 61 6c 65 73 2c 20 6e 6f |m real s|ales, no|
|000021a0| 74 20 64 69 73 74 72 69 | 62 0d 72 65 70 65 61 74 |t distri|b.repeat|
|000021b0| 20 77 69 74 68 20 78 3d | 31 20 74 6f 20 74 68 65 | with x=|1 to the|
|000021c0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|000021d0| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|000021e0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|000021f0| 75 73 79 0d 70 75 74 20 | 31 20 69 6e 74 6f 20 73 |usy.put |1 into s|
|00002200| 6d 75 6c 74 20 2d 2d 20 | 73 68 61 72 65 20 6d 75 |mult -- |share mu|
|00002210| 6c 74 69 70 6c 69 65 72 | 20 65 78 63 65 70 74 20 |ltiplier| except |
|00002220| 77 68 65 6e 20 73 65 6c | 6c 20 6f 72 20 68 61 76 |when sel|l or hav|
|00002230| 65 20 64 69 76 2f 63 2e | 67 2e 20 70 61 69 64 20 |e div/c.|g. paid |
|00002240| 61 73 20 73 68 61 72 65 | 73 0d 70 75 74 20 31 20 |as share|s.put 1 |
|00002250| 69 6e 74 6f 20 76 6d 75 | 6c 74 20 2d 2d 20 76 61 |into vmu|lt -- va|
|00002260| 6c 75 65 20 6d 75 6c 74 | 0d 70 75 74 20 6c 69 6e |lue mult|.put lin|
|00002270| 65 20 78 20 6f 66 20 66 | 69 65 6c 64 20 22 64 61 |e x of f|ield "da|
|00002280| 74 61 22 20 69 6e 74 6f | 20 64 61 74 61 49 74 65 |ta" into| dataIte|
|00002290| 6d 73 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |ms.put i|tem 2 of|
|000022a0| 20 64 61 74 61 49 74 65 | 6d 73 20 69 6e 74 6f 20 | dataIte|ms into |
|000022b0| 74 79 70 65 0d 70 75 74 | 20 69 74 65 6d 20 34 20 |type.put| item 4 |
|000022c0| 6f 66 20 64 61 74 61 49 | 74 65 6d 73 20 69 6e 74 |of dataI|tems int|
|000022d0| 6f 20 73 68 61 72 65 73 | 0d 69 66 20 73 68 61 72 |o shares|.if shar|
|000022e0| 65 73 3d 22 2d 22 20 74 | 68 65 6e 20 70 75 74 20 |es="-" t|hen put |
|000022f0| 30 20 69 6e 74 6f 20 73 | 68 61 72 65 73 0d 69 66 |0 into s|hares.if|
|00002300| 20 28 74 79 70 65 3d 22 | 64 69 76 22 29 20 6f 72 | (type="|div") or|
|00002310| 20 28 74 79 70 65 3d 22 | 43 2e 47 2e 22 29 20 74 | (type="|C.G.") t|
|00002320| 68 65 6e 0d 70 75 74 20 | 69 74 65 6d 20 35 20 6f |hen.put |item 5 o|
|00002330| 66 20 64 61 74 61 49 74 | 65 6d 73 20 69 6e 74 6f |f dataIt|ems into|
|00002340| 20 74 65 6d 70 65 72 32 | 0d 61 64 64 20 73 74 72 | temper2|.add str|
|00002350| 69 70 69 74 28 74 65 6d | 70 65 72 32 29 20 74 6f |ipit(tem|per2) to|
|00002360| 20 74 64 69 76 0d 6e 65 | 78 74 20 72 65 70 65 61 | tdiv.ne|xt repea|
|00002370| 74 0d 65 6e 64 20 69 66 | 0d 69 66 20 74 79 70 65 |t.end if|.if type|
|00002380| 3d 22 62 75 79 22 20 74 | 68 65 6e 0d 61 64 64 20 |="buy" t|hen.add |
|00002390| 73 74 72 69 70 69 74 28 | 69 74 65 6d 20 35 20 6f |stripit(|item 5 o|
|000023a0| 66 20 64 61 74 61 49 74 | 65 6d 73 29 20 74 6f 20 |f dataIt|ems) to |
|000023b0| 63 61 73 68 69 6e 0d 70 | 75 74 20 69 74 65 6d 20 |cashin.p|ut item |
|000023c0| 36 20 6f 66 20 64 61 74 | 61 49 74 65 6d 73 20 69 |6 of dat|aItems i|
|000023d0| 6e 74 6f 20 74 65 6d 70 | 65 72 0d 69 66 20 74 65 |nto temp|er.if te|
|000023e0| 6d 70 65 72 3d 22 2d 22 | 20 74 68 65 6e 20 70 75 |mper="-"| then pu|
|000023f0| 74 20 30 20 69 6e 74 6f | 20 74 65 6d 70 65 72 0d |t 0 into| temper.|
|00002400| 61 64 64 20 73 74 72 69 | 70 69 74 28 74 65 6d 70 |add stri|pit(temp|
|00002410| 65 72 29 20 74 6f 20 62 | 75 79 63 6f 6d 6d 0d 65 |er) to b|uycomm.e|
|00002420| 6e 64 20 69 66 0d 69 66 | 20 74 79 70 65 20 69 73 |nd if.if| type is|
|00002430| 20 69 6e 20 74 79 70 65 | 72 20 74 68 65 6e 20 2d | in type|r then -|
|00002440| 2d 20 64 69 76 20 6f 72 | 20 63 2e 67 2e 0d 69 66 |- div or| c.g..if|
|00002450| 20 22 72 2d 22 20 69 73 | 20 69 6e 20 74 79 70 65 | "r-" is| in type|
|00002460| 20 74 68 65 6e 20 2d 2d | 20 72 65 69 6e 76 20 61 | then --| reinv a|
|00002470| 73 20 73 68 61 72 65 73 | 2c 6e 6f 74 20 76 61 6c |s shares|,not val|
|00002480| 75 65 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 76 6d |ue.put 0| into vm|
|00002490| 75 6c 74 0d 65 6c 73 65 | 0d 70 75 74 20 30 20 69 |ult.else|.put 0 i|
|000024a0| 6e 74 6f 20 73 6d 75 6c | 74 20 2d 2d 20 72 65 63 |nto smul|t -- rec|
|000024b0| 65 69 76 65 64 20 76 61 | 6c 75 65 2c 6e 6f 74 20 |eived va|lue,not |
|000024c0| 73 68 61 72 65 73 0d 65 | 6e 64 20 69 66 0d 65 6e |shares.e|nd if.en|
|000024d0| 64 20 69 66 0d 69 66 20 | 74 79 70 65 3d 22 73 65 |d if.if |type="se|
|000024e0| 6c 6c 22 20 74 68 65 6e | 0d 70 75 74 20 28 2d 31 |ll" then|.put (-1|
|000024f0| 29 20 69 6e 74 6f 20 73 | 6d 75 6c 74 0d 70 75 74 |) into s|mult.put|
|00002500| 20 28 2d 31 29 20 69 6e | 74 6f 20 76 6d 75 6c 74 | (-1) in|to vmult|
|00002510| 0d 61 64 64 20 73 74 72 | 69 70 69 74 28 69 74 65 |.add str|ipit(ite|
|00002520| 6d 20 35 20 6f 66 20 64 | 61 74 61 49 74 65 6d 73 |m 5 of d|ataItems|
|00002530| 29 20 74 6f 20 63 61 73 | 68 4f 75 74 0d 70 75 74 |) to cas|hOut.put|
|00002540| 20 69 74 65 6d 20 36 20 | 6f 66 20 64 61 74 61 49 | item 6 |of dataI|
|00002550| 74 65 6d 73 20 69 6e 74 | 6f 20 74 65 6d 70 65 72 |tems int|o temper|
|00002560| 0d 69 66 20 74 65 6d 70 | 65 72 3d 22 2d 22 20 74 |.if temp|er="-" t|
|00002570| 68 65 6e 20 70 75 74 20 | 30 20 69 6e 74 6f 20 74 |hen put |0 into t|
|00002580| 65 6d 70 65 72 0d 61 64 | 64 20 73 74 72 69 70 69 |emper.ad|d stripi|
|00002590| 74 28 74 65 6d 70 65 72 | 29 20 74 6f 20 73 65 6c |t(temper|) to sel|
|000025a0| 6c 63 6f 6d 6d 0d 70 75 | 74 20 73 74 72 69 70 69 |lcomm.pu|t stripi|
|000025b0| 74 28 69 74 65 6d 20 39 | 20 6f 66 20 64 61 74 61 |t(item 9| of data|
|000025c0| 69 74 65 6d 73 29 20 69 | 6e 74 6f 20 67 61 69 6e |items) i|nto gain|
|000025d0| 65 72 0d 69 66 20 67 61 | 69 6e 65 72 3d 22 2d 22 |er.if ga|iner="-"|
|000025e0| 20 74 68 65 6e 20 70 75 | 74 20 30 20 69 6e 74 6f | then pu|t 0 into|
|000025f0| 20 67 61 69 6e 65 72 0d | 61 64 64 20 67 61 69 6e | gainer.|add gain|
|00002600| 65 72 20 74 6f 20 74 67 | 61 69 6e 0d 65 6e 64 20 |er to tg|ain.end |
|00002610| 69 66 0d 61 64 64 20 28 | 73 68 61 72 65 73 2a 73 |if.add (|shares*s|
|00002620| 6d 75 6c 74 29 20 74 6f | 20 73 73 0d 70 75 74 20 |mult) to| ss.put |
|00002630| 73 74 72 69 70 69 74 28 | 69 74 65 6d 20 35 20 6f |stripit(|item 5 o|
|00002640| 66 20 64 61 74 61 49 74 | 65 6d 73 29 20 69 6e 74 |f dataIt|ems) int|
|00002650| 6f 20 76 61 6c 0d 69 66 | 20 76 61 6c 3d 22 2d 22 |o val.if| val="-"|
|00002660| 20 74 68 65 6e 20 70 75 | 74 20 30 20 69 6e 74 6f | then pu|t 0 into|
|00002670| 20 76 61 6c 0d 61 64 64 | 20 28 76 61 6c 2a 76 6d | val.add| (val*vm|
|00002680| 75 6c 74 29 20 74 6f 20 | 76 76 0d 65 6e 64 20 72 |ult) to |vv.end r|
|00002690| 65 70 65 61 74 0d 70 75 | 74 20 28 62 75 79 63 6f |epeat.pu|t (buyco|
|000026a0| 6d 6d 2b 73 65 6c 6c 63 | 6f 6d 6d 29 20 69 6e 74 |mm+sellc|omm) int|
|000026b0| 6f 20 74 63 6f 6d 6d 0d | 73 65 74 20 74 68 65 20 |o tcomm.|set the |
|000026c0| 6e 75 6d 62 65 72 66 6f | 72 6d 61 74 20 74 6f 20 |numberfo|rmat to |
|000026d0| 22 30 2e 22 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |"0.".put| 0 into |
|000026e0| 62 75 63 6b 73 49 6e 0d | 69 66 20 68 69 6c 69 74 |bucksIn.|if hilit|
|000026f0| 65 20 6f 66 20 62 67 20 | 62 75 74 74 6f 6e 20 69 |e of bg |button i|
|00002700| 64 20 31 32 33 3d 74 72 | 75 65 20 74 68 65 6e 20 |d 123=tr|ue then |
|00002710| 2d 2d 20 61 64 64 20 63 | 6f 6d 6d 73 0d 61 64 64 |-- add c|omms.add|
|00002720| 20 28 76 76 2b 74 63 6f | 6d 6d 29 20 74 6f 20 62 | (vv+tco|mm) to b|
|00002730| 75 63 6b 73 49 6e 0d 65 | 6c 73 65 0d 61 64 64 20 |ucksIn.e|lse.add |
|00002740| 28 76 76 29 20 74 6f 20 | 62 75 63 6b 73 49 6e 0d |(vv) to |bucksIn.|
|00002750| 65 6e 64 20 69 66 0d 69 | 66 20 68 69 6c 69 74 65 |end if.i|f hilite|
|00002760| 20 6f 66 20 62 67 20 62 | 75 74 74 6f 6e 20 22 63 | of bg b|utton "c|
|00002770| 67 66 61 63 74 6f 72 22 | 3d 74 72 75 65 20 74 68 |gfactor"|=true th|
|00002780| 65 6e 20 2d 2d 20 66 61 | 63 74 6f 72 20 6f 75 74 |en -- fa|ctor out|
|00002790| 20 67 61 69 6e 73 20 62 | 79 20 72 65 2d 61 64 64 | gains b|y re-add|
|000027a0| 69 6e 67 20 74 68 65 6d | 0d 61 64 64 20 74 67 61 |ing them|.add tga|
|000027b0| 69 6e 20 74 6f 20 62 75 | 63 6b 73 49 6e 0d 65 6e |in to bu|cksIn.en|
|000027c0| 64 20 69 66 0d 70 75 74 | 20 70 6c 61 63 65 53 69 |d if.put| placeSi|
|000027d0| 67 6e 28 62 75 63 6b 73 | 49 6e 29 20 69 6e 74 6f |gn(bucks|In) into|
|000027e0| 20 66 69 65 6c 64 20 22 | 24 24 22 0d 70 75 74 20 | field "|$$".put |
|000027f0| 70 6c 61 63 65 53 69 67 | 6e 28 74 63 6f 6d 6d 29 |placeSig|n(tcomm)|
|00002800| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 63 6f 6d | into fi|eld "com|
|00002810| 6d 73 22 0d 70 75 74 20 | 70 6c 61 63 65 53 69 67 |ms".put |placeSig|
|00002820| 6e 28 74 64 69 76 29 20 | 69 6e 74 6f 20 66 69 65 |n(tdiv) |into fie|
|00002830| 6c 64 20 22 64 69 76 73 | 22 0d 70 75 74 20 63 61 |ld "divs|".put ca|
|00002840| 73 68 4f 75 74 20 69 6e | 74 6f 20 66 69 65 6c 64 |shOut in|to field|
|00002850| 20 22 63 61 73 68 4f 75 | 74 22 0d 70 75 74 20 63 | "cashOu|t".put c|
|00002860| 61 73 68 49 6e 20 69 6e | 74 6f 20 66 69 65 6c 64 |ashIn in|to field|
|00002870| 20 22 63 61 73 68 49 6e | 22 0d 73 65 74 20 74 68 | "cashIn|".set th|
|00002880| 65 20 6e 75 6d 62 65 72 | 66 6f 72 6d 61 74 20 74 |e number|format t|
|00002890| 6f 20 22 30 2e 30 30 30 | 22 0d 70 75 74 20 73 73 |o "0.000|".put ss|
|000028a0| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 6e 75 6d | into fi|eld "num|
|000028b0| 73 68 61 72 65 73 22 0d | 73 65 74 20 74 68 65 20 |shares".|set the |
|000028c0| 6e 75 6d 62 65 72 66 6f | 72 6d 61 74 20 74 6f 20 |numberfo|rmat to |
|000028d0| 22 30 2e 22 0d 63 61 6c | 63 73 74 6f 63 6b 0d 73 |"0.".cal|cstock.s|
|000028e0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|000028f0| 79 0d 2d 2d 20 66 69 67 | 75 72 65 20 62 72 65 61 |y.-- fig|ure brea|
|00002900| 6b 2d 65 76 65 6e 20 70 | 72 69 63 65 73 20 28 77 |k-even p|rices (w|
|00002910| 68 65 72 65 20 76 61 6c | 75 65 3d 69 6e 76 65 73 |here val|ue=inves|
|00002920| 74 65 64 20 24 24 29 0d | 73 65 74 20 74 68 65 20 |ted $$).|set the |
|00002930| 6e 75 6d 62 65 72 66 6f | 72 6d 61 74 20 74 6f 20 |numberfo|rmat to |
|00002940| 22 30 2e 30 30 30 22 0d | 69 66 20 73 73 3d 30 20 |"0.000".|if ss=0 |
|00002950| 74 68 65 6e 0d 70 75 74 | 20 22 30 2e 30 30 30 22 |then.put| "0.000"|
|00002960| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 65 76 65 | into fi|eld "eve|
|00002970| 6e 70 72 69 63 65 22 0d | 65 6c 73 65 0d 70 75 74 |nprice".|else.put|
|00002980| 20 28 76 76 2b 32 2a 62 | 75 79 63 6f 6d 6d 2d 74 | (vv+2*b|uycomm-t|
|00002990| 64 69 76 29 2f 73 73 20 | 69 6e 74 6f 20 66 69 65 |div)/ss |into fie|
|000029a0| 6c 64 20 22 65 76 65 6e | 70 72 69 63 65 22 20 2d |ld "even|price" -|
|000029b0| 2d 20 61 73 73 75 6d 65 | 20 73 61 6d 65 20 63 6f |- assume| same co|
|000029c0| 6d 6d 20 77 68 65 6e 20 | 73 65 6c 6c 20 61 73 20 |mm when |sell as |
|000029d0| 62 75 79 0d 65 6e 64 20 | 69 66 0d 67 65 74 53 74 |buy.end |if.getSt|
|000029e0| 61 6e 64 69 6e 67 0d 64 | 75 6d 70 74 6f 53 75 6d |anding.d|umptoSum|
|000029f0| 6d 61 72 79 0d 65 6e 64 | 20 63 6f 75 6e 74 73 68 |mary.end| countsh|
|00002a00| 61 72 65 73 0d 0d 6f 6e | 20 63 61 6c 63 73 74 6f |ares..on| calcsto|
|00002a10| 63 6b 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ck.set c|ursor to|
|00002a20| 20 62 75 73 79 0d 70 75 | 74 20 66 69 65 6c 64 20 | busy.pu|t field |
|00002a30| 22 6e 75 6d 73 68 61 72 | 65 73 22 20 69 6e 74 6f |"numshar|es" into|
|00002a40| 20 73 73 73 0d 69 66 20 | 28 73 73 73 3d 30 29 20 | sss.if |(sss=0) |
|00002a50| 6f 72 20 28 73 73 73 3d | 65 6d 70 74 79 29 20 74 |or (sss=|empty) t|
|00002a60| 68 65 6e 0d 70 75 74 20 | 22 30 2e 30 30 22 20 69 |hen.put |"0.00" i|
|00002a70| 6e 74 6f 20 66 69 65 6c | 64 20 22 61 76 67 22 0d |nto fiel|d "avg".|
|00002a80| 70 75 74 20 22 24 30 22 | 20 69 6e 74 6f 20 66 69 |put "$0"| into fi|
|00002a90| 65 6c 64 20 22 24 24 22 | 0d 70 75 74 20 22 24 30 |eld "$$"|.put "$0|
|00002aa0| 22 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 63 75 |" into f|ield "cu|
|00002ab0| 72 72 76 61 6c 22 0d 70 | 75 74 20 22 24 30 22 20 |rrval".p|ut "$0" |
|00002ac0| 69 6e 74 6f 20 66 69 65 | 6c 64 20 22 63 68 61 6e |into fie|ld "chan|
|00002ad0| 67 65 76 61 6c 22 0d 70 | 75 74 20 22 30 2e 30 25 |geval".p|ut "0.0%|
|00002ae0| 22 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 63 68 |" into f|ield "ch|
|00002af0| 61 6e 67 65 22 0d 70 75 | 74 20 30 20 69 6e 74 6f |ange".pu|t 0 into|
|00002b00| 20 66 69 65 6c 64 20 22 | 76 61 6c 64 69 66 66 22 | field "|valdiff"|
|00002b10| 20 2d 2d 20 74 68 65 20 | c6 0d 65 6c 73 65 0d 73 | -- the |..else.s|
|00002b20| 65 74 20 74 68 65 20 6e | 75 6d 62 65 72 66 6f 72 |et the n|umberfor|
|00002b30| 6d 61 74 20 74 6f 20 22 | 30 2e 30 30 22 0d 70 75 |mat to "|0.00".pu|
|00002b40| 74 20 73 74 72 69 70 69 | 74 28 66 69 65 6c 64 20 |t stripi|t(field |
|00002b50| 22 24 24 22 29 2f 73 73 | 73 20 69 6e 74 6f 20 66 |"$$")/ss|s into f|
|00002b60| 69 65 6c 64 20 22 61 76 | 67 22 0d 70 75 74 20 73 |ield "av|g".put s|
|00002b70| 74 72 69 70 69 74 28 66 | 69 65 6c 64 20 22 63 75 |tripit(f|ield "cu|
|00002b80| 72 72 76 61 6c 22 29 20 | 69 6e 74 6f 20 6f 6c 64 |rrval") |into old|
|00002b90| 76 61 6c 0d 73 65 74 20 | 74 68 65 20 6e 75 6d 62 |val.set |the numb|
|00002ba0| 65 72 66 6f 72 6d 61 74 | 20 74 6f 20 22 30 2e 22 |erformat| to "0."|
|00002bb0| 0d 69 66 20 68 69 6c 69 | 74 65 20 6f 66 20 62 67 |.if hili|te of bg|
|00002bc0| 20 62 75 74 74 6f 6e 20 | 69 64 20 31 32 34 3d 74 | button |id 124=t|
|00002bd0| 72 75 65 20 74 68 65 6e | 20 2d 2d 20 61 64 64 20 |rue then| -- add |
|00002be0| 64 69 76 2f 63 2e 67 2e | 0d 70 75 74 20 70 6c 61 |div/c.g.|.put pla|
|00002bf0| 63 65 73 69 67 6e 28 28 | 66 69 65 6c 64 20 22 6e |cesign((|field "n|
|00002c00| 75 6d 73 68 61 72 65 73 | 22 29 2a 28 66 69 65 6c |umshares|")*(fiel|
|00002c10| 64 20 22 63 75 72 72 70 | 72 69 63 65 22 29 2b 73 |d "currp|rice")+s|
|00002c20| 74 72 69 70 69 74 28 66 | 69 65 6c 64 20 22 64 69 |tripit(f|ield "di|
|00002c30| 76 73 22 29 29 20 69 6e | 74 6f 20 66 69 65 6c 64 |vs")) in|to field|
|00002c40| 20 22 63 75 72 72 76 61 | 6c 22 0d 65 6c 73 65 0d | "currva|l".else.|
|00002c50| 70 75 74 20 70 6c 61 63 | 65 73 69 67 6e 28 28 66 |put plac|esign((f|
|00002c60| 69 65 6c 64 20 22 6e 75 | 6d 73 68 61 72 65 73 22 |ield "nu|mshares"|
|00002c70| 29 2a 28 66 69 65 6c 64 | 20 22 63 75 72 72 70 72 |)*(field| "currpr|
|00002c80| 69 63 65 22 29 29 20 69 | 6e 74 6f 20 66 69 65 6c |ice")) i|nto fiel|
|00002c90| 64 20 22 63 75 72 72 76 | 61 6c 22 0d 65 6e 64 20 |d "currv|al".end |
|00002ca0| 69 66 0d 70 75 74 20 73 | 74 72 69 70 69 74 28 66 |if.put s|tripit(f|
|00002cb0| 69 65 6c 64 20 22 63 75 | 72 72 76 61 6c 22 29 20 |ield "cu|rrval") |
|00002cc0| 69 6e 74 6f 20 6e 65 77 | 76 61 6c 0d 73 65 74 20 |into new|val.set |
|00002cd0| 6e 75 6d 62 65 72 66 6f | 72 6d 61 74 20 74 6f 20 |numberfo|rmat to |
|00002ce0| 22 30 2e 22 0d 70 75 74 | 20 70 6c 61 63 65 73 69 |"0.".put| placesi|
|00002cf0| 67 6e 28 73 74 72 69 70 | 69 74 28 66 69 65 6c 64 |gn(strip|it(field|
|00002d00| 20 22 63 75 72 72 76 61 | 6c 22 29 2d 73 74 72 69 | "currva|l")-stri|
|00002d10| 70 69 74 28 66 69 65 6c | 64 20 22 24 24 22 29 29 |pit(fiel|d "$$"))|
|00002d20| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 63 68 61 | into fi|eld "cha|
|00002d30| 6e 67 65 76 61 6c 22 0d | 70 75 74 20 70 6c 61 63 |ngeval".|put plac|
|00002d40| 65 53 69 67 6e 28 6e 65 | 77 76 61 6c 2d 6f 6c 64 |eSign(ne|wval-old|
|00002d50| 76 61 6c 29 20 69 6e 74 | 6f 20 66 69 65 6c 64 20 |val) int|o field |
|00002d60| 22 76 61 6c 64 69 66 66 | 22 20 2d 2d 20 74 68 65 |"valdiff|" -- the|
|00002d70| 20 c6 0d 73 65 74 20 6e | 75 6d 62 65 72 66 6f 72 | ..set n|umberfor|
|00002d80| 6d 61 74 20 74 6f 20 22 | 30 2e 30 22 0d 2d 2d 20 |mat to "|0.0".-- |
|00002d90| 63 61 6c 63 20 25 73 0d | 70 75 74 20 28 31 30 30 |calc %s.|put (100|
|00002da0| 2a 28 73 74 72 69 70 69 | 74 28 66 69 65 6c 64 20 |*(stripi|t(field |
|00002db0| 22 63 68 61 6e 67 65 76 | 61 6c 22 29 29 2f 73 74 |"changev|al"))/st|
|00002dc0| 72 69 70 69 74 28 66 69 | 65 6c 64 20 22 24 24 22 |ripit(fi|eld "$$"|
|00002dd0| 29 29 20 69 6e 74 6f 20 | 74 65 6d 70 0d 70 75 74 |)) into |temp.put|
|00002de0| 20 66 69 78 64 65 63 69 | 6d 61 6c 28 74 65 6d 70 | fixdeci|mal(temp|
|00002df0| 29 26 22 25 22 20 69 6e | 74 6f 20 66 69 65 6c 64 |)&"%" in|to field|
|00002e00| 20 22 63 68 61 6e 67 65 | 22 0d 65 6e 64 20 69 66 | "change|".end if|
|00002e10| 0d 65 6e 64 20 63 61 6c | 63 73 74 6f 63 6b 0d 0d |.end cal|cstock..|
|00002e20| 6f 6e 20 67 65 74 53 74 | 61 6e 64 69 6e 67 20 2d |on getSt|anding -|
|00002e30| 2d 20 63 75 72 72 65 6e | 74 20 70 72 6f 66 69 74 |- curren|t profit|
|00002e40| 2f 6c 6f 73 73 0d 70 75 | 74 20 30 20 69 6e 74 6f |/loss.pu|t 0 into|
|00002e50| 20 64 64 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 65 | dd.put |0 into e|
|00002e60| 65 0d 69 66 20 68 69 6c | 69 74 65 20 6f 66 20 62 |e.if hil|ite of b|
|00002e70| 67 20 62 75 74 74 6f 6e | 20 69 64 20 31 32 33 3d |g button| id 123=|
|00002e80| 74 72 75 65 20 74 68 65 | 6e 20 70 75 74 20 73 74 |true the|n put st|
|00002e90| 72 69 70 69 74 28 66 69 | 65 6c 64 20 22 63 6f 6d |ripit(fi|eld "com|
|00002ea0| 6d 73 22 29 20 69 6e 74 | 6f 20 64 64 0d 69 66 20 |ms") int|o dd.if |
|00002eb0| 68 69 6c 69 74 65 20 6f | 66 20 62 67 20 62 75 74 |hilite o|f bg but|
|00002ec0| 74 6f 6e 20 69 64 20 31 | 32 34 3d 74 72 75 65 20 |ton id 1|24=true |
|00002ed0| 74 68 65 6e 20 70 75 74 | 20 73 74 72 69 70 69 74 |then put| stripit|
|00002ee0| 28 66 69 65 6c 64 20 22 | 64 69 76 73 22 29 20 69 |(field "|divs") i|
|00002ef0| 6e 74 6f 20 65 65 0d 73 | 65 74 20 74 68 65 20 6e |nto ee.s|et the n|
|00002f00| 75 6d 62 65 72 66 6f 72 | 6d 61 74 20 74 6f 20 22 |umberfor|mat to "|
|00002f10| 30 2e 22 0d 70 75 74 20 | 70 6c 61 63 65 53 69 67 |0.".put |placeSig|
|00002f20| 6e 28 73 74 72 69 70 69 | 74 28 66 69 65 6c 64 20 |n(stripi|t(field |
|00002f30| 22 63 75 72 72 76 61 6c | 22 29 2d 28 66 69 65 6c |"currval|")-(fiel|
|00002f40| 64 20 22 63 61 73 68 49 | 6e 22 29 2b 28 66 69 65 |d "cashI|n")+(fie|
|00002f50| 6c 64 20 22 63 61 73 68 | 4f 75 74 22 29 2d 64 64 |ld "cash|Out")-dd|
|00002f60| 2b 65 65 29 20 69 6e 74 | 6f 20 66 69 65 6c 64 20 |+ee) int|o field |
|00002f70| 22 70 72 6f 66 69 74 22 | 0d 65 6e 64 20 67 65 74 |"profit"|.end get|
|00002f80| 53 74 61 6e 64 69 6e 67 | 0d 0d 6f 6e 20 64 75 6d |Standing|..on dum|
|00002f90| 70 74 6f 53 75 6d 6d 61 | 72 79 20 2d 2d 20 70 75 |ptoSumma|ry -- pu|
|00002fa0| 74 20 69 6e 66 6f 20 69 | 6e 74 6f 20 53 74 6f 63 |t info i|nto Stoc|
|00002fb0| 6b 50 6f 72 74 20 63 64 | 0d 70 75 74 20 73 68 6f |kPort cd|.put sho|
|00002fc0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00002fd0| 63 64 20 69 6e 74 6f 20 | 73 73 0d 70 75 74 20 46 |cd into |ss.put F|
|00002fe0| 69 6e 64 4c 69 6e 65 28 | 73 73 2c 66 69 65 6c 64 |indLine(|ss,field|
|00002ff0| 20 22 73 74 6f 63 6b 22 | 20 6f 66 20 63 64 20 22 | "stock"| of cd "|
|00003000| 73 74 6f 63 6b 70 6f 72 | 74 22 29 20 69 6e 74 6f |stockpor|t") into|
|00003010| 20 6c 69 6e 65 72 0d 70 | 75 74 20 66 69 65 6c 64 | liner.p|ut field|
|00003020| 20 22 6e 75 6d 73 68 61 | 72 65 73 22 20 69 6e 74 | "numsha|res" int|
|00003030| 6f 20 6c 69 6e 65 20 6c | 69 6e 65 72 20 6f 66 20 |o line l|iner of |
|00003040| 66 69 65 6c 64 20 22 73 | 68 61 72 65 73 22 20 6f |field "s|hares" o|
|00003050| 66 20 63 64 20 22 73 74 | 6f 63 6b 70 6f 72 74 22 |f cd "st|ockport"|
|00003060| 0d 70 75 74 20 66 69 65 | 6c 64 20 22 73 79 6d 62 |.put fie|ld "symb|
|00003070| 6f 6c 22 20 69 6e 74 6f | 20 6c 69 6e 65 20 6c 69 |ol" into| line li|
|00003080| 6e 65 72 20 6f 66 20 66 | 69 65 6c 64 20 22 73 79 |ner of f|ield "sy|
|00003090| 6d 62 6f 6c 22 20 6f 66 | 20 63 64 20 22 73 74 6f |mbol" of| cd "sto|
|000030a0| 63 6b 70 6f 72 74 22 0d | 70 75 74 20 66 69 65 6c |ckport".|put fiel|
|000030b0| 64 20 22 61 76 67 22 20 | 69 6e 74 6f 20 6c 69 6e |d "avg" |into lin|
|000030c0| 65 20 6c 69 6e 65 72 20 | 6f 66 20 66 69 65 6c 64 |e liner |of field|
|000030d0| 20 22 69 6e 69 74 70 72 | 69 63 65 22 20 6f 66 20 | "initpr|ice" of |
|000030e0| 63 64 20 22 73 74 6f 63 | 6b 70 6f 72 74 22 0d 70 |cd "stoc|kport".p|
|000030f0| 75 74 20 66 69 65 6c 64 | 20 22 63 75 72 72 70 72 |ut field| "currpr|
|00003100| 69 63 65 22 20 69 6e 74 | 6f 20 6c 69 6e 65 20 6c |ice" int|o line l|
|00003110| 69 6e 65 72 20 6f 66 20 | 66 69 65 6c 64 20 22 70 |iner of |field "p|
|00003120| 72 69 63 65 22 20 6f 66 | 20 63 64 20 22 73 74 6f |rice" of| cd "sto|
|00003130| 63 6b 70 6f 72 74 22 0d | 70 75 74 20 66 69 65 6c |ckport".|put fiel|
|00003140| 64 20 22 63 68 61 6e 67 | 65 22 20 69 6e 74 6f 20 |d "chang|e" into |
|00003150| 6c 69 6e 65 20 6c 69 6e | 65 72 20 6f 66 20 66 69 |line lin|er of fi|
|00003160| 65 6c 64 20 22 70 63 74 | 22 20 6f 66 20 63 64 20 |eld "pct|" of cd |
|00003170| 22 73 74 6f 63 6b 70 6f | 72 74 22 0d 70 75 74 20 |"stockpo|rt".put |
|00003180| 66 69 65 6c 64 20 22 63 | 75 72 72 76 61 6c 22 20 |field "c|urrval" |
|00003190| 69 6e 74 6f 20 6c 69 6e | 65 20 6c 69 6e 65 72 20 |into lin|e liner |
|000031a0| 6f 66 20 66 69 65 6c 64 | 20 22 76 61 6c 75 65 22 |of field| "value"|
|000031b0| 20 6f 66 20 63 64 20 22 | 73 74 6f 63 6b 70 6f 72 | of cd "|stockpor|
|000031c0| 74 22 0d 70 75 74 20 66 | 69 65 6c 64 20 22 63 68 |t".put f|ield "ch|
|000031d0| 61 6e 67 65 76 61 6c 22 | 20 69 6e 74 6f 20 6c 69 |angeval"| into li|
|000031e0| 6e 65 20 6c 69 6e 65 72 | 20 6f 66 20 66 69 65 6c |ne liner| of fiel|
|000031f0| 64 20 22 76 61 6c 63 68 | 61 6e 67 65 22 20 6f 66 |d "valch|ange" of|
|00003200| 20 63 64 20 22 73 74 6f | 63 6b 70 6f 72 74 22 0d | cd "sto|ckport".|
|00003210| 70 75 74 20 66 69 65 6c | 64 20 22 76 61 6c 64 69 |put fiel|d "valdi|
|00003220| 66 66 22 20 69 6e 74 6f | 20 76 64 0d 69 66 20 76 |ff" into| vd.if v|
|00003230| 64 3d 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |d=empty |then put|
|00003240| 20 22 2d 22 20 69 6e 74 | 6f 20 76 64 20 2d 2d 20 | "-" int|o vd -- |
|00003250| 6e 65 65 64 73 20 73 6f | 6d 65 74 68 69 6e 67 20 |needs so|mething |
|00003260| 74 68 65 72 65 20 66 6f | 72 20 70 72 6f 70 65 72 |there fo|r proper|
|00003270| 20 77 6f 72 64 20 63 6f | 75 6e 74 0d 70 75 74 20 | word co|unt.put |
|00003280| 76 64 20 69 6e 74 6f 20 | 6c 69 6e 65 20 6c 69 6e |vd into |line lin|
|00003290| 65 72 20 6f 66 20 66 69 | 65 6c 64 20 22 76 61 6c |er of fi|eld "val|
|000032a0| 64 69 66 66 73 22 20 6f | 66 20 63 64 20 22 73 74 |diffs" o|f cd "st|
|000032b0| 6f 63 6b 70 6f 72 74 22 | 0d 70 75 74 53 74 6f 63 |ockport"|.putStoc|
|000032c0| 6b 74 68 69 6e 67 73 28 | 6c 69 6e 65 72 29 0d 65 |kthings(|liner).e|
|000032d0| 6e 64 20 64 75 6d 70 74 | 6f 53 75 6d 6d 61 72 79 |nd dumpt|oSummary|
|000032e0| 0d 0d 6f 6e 20 63 68 65 | 63 6b 6d 61 78 4d 69 6e |..on che|ckmaxMin|
|000032f0| 20 63 70 0d 73 65 74 20 | 74 68 65 20 6e 75 6d 62 | cp.set |the numb|
|00003300| 65 72 66 6f 72 6d 61 74 | 20 74 6f 20 22 30 2e 30 |erformat| to "0.0|
|00003310| 30 30 22 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |00".put |empty in|
|00003320| 74 6f 20 66 69 65 6c 64 | 20 22 68 69 67 68 4c 6f |to field| "highLo|
|00003330| 77 22 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 78 |w".repea|t with x|
|00003340| 3d 31 20 74 6f 20 32 0d | 2d 2d 20 69 66 20 6e 6f |=1 to 2.|-- if no|
|00003350| 20 65 6e 74 72 79 20 79 | 65 74 3a 0d 69 66 20 6c | entry y|et:.if l|
|00003360| 69 6e 65 20 78 20 6f 66 | 20 66 69 65 6c 64 20 22 |ine x of| field "|
|00003370| 6d 61 78 4d 69 6e 22 3d | 65 6d 70 74 79 20 74 68 |maxMin"=|empty th|
|00003380| 65 6e 0d 70 75 74 20 63 | 70 20 69 6e 74 6f 20 6c |en.put c|p into l|
|00003390| 69 6e 65 20 78 20 6f 66 | 20 66 69 65 6c 64 20 22 |ine x of| field "|
|000033a0| 6d 61 78 4d 69 6e 22 0d | 6e 65 78 74 20 72 65 70 |maxMin".|next rep|
|000033b0| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |eat.end |if.end r|
|000033c0| 65 70 65 61 74 0d 2d 2d | 20 69 66 20 70 72 65 76 |epeat.--| if prev|
|000033d0| 69 6f 75 73 20 65 6e 74 | 72 79 20 74 6f 20 63 6f |ious ent|ry to co|
|000033e0| 6d 70 61 72 65 3a 0d 69 | 66 20 63 70 3e 6c 69 6e |mpare:.i|f cp>lin|
|000033f0| 65 20 31 20 6f 66 20 66 | 69 65 6c 64 20 22 6d 61 |e 1 of f|ield "ma|
|00003400| 78 4d 69 6e 22 20 74 68 | 65 6e 0d 70 75 74 20 63 |xMin" th|en.put c|
|00003410| 70 20 69 6e 74 6f 20 6c | 69 6e 65 20 31 20 6f 66 |p into l|ine 1 of|
|00003420| 20 66 69 65 6c 64 20 22 | 6d 61 78 4d 69 6e 22 0d | field "|maxMin".|
|00003430| 70 75 74 20 22 2a 22 20 | 69 6e 74 6f 20 6c 69 6e |put "*" |into lin|
|00003440| 65 20 31 20 6f 66 20 66 | 69 65 6c 64 20 22 68 69 |e 1 of f|ield "hi|
|00003450| 67 68 4c 6f 77 22 0d 65 | 6e 64 20 69 66 0d 69 66 |ghLow".e|nd if.if|
|00003460| 20 63 70 3c 6c 69 6e 65 | 20 32 20 6f 66 20 66 69 | cp<line| 2 of fi|
|00003470| 65 6c 64 20 22 6d 61 78 | 4d 69 6e 22 20 74 68 65 |eld "max|Min" the|
|00003480| 6e 0d 70 75 74 20 63 70 | 20 69 6e 74 6f 20 6c 69 |n.put cp| into li|
|00003490| 6e 65 20 32 20 6f 66 20 | 66 69 65 6c 64 20 22 6d |ne 2 of |field "m|
|000034a0| 61 78 4d 69 6e 22 0d 70 | 75 74 20 22 2a 22 20 69 |axMin".p|ut "*" i|
|000034b0| 6e 74 6f 20 6c 69 6e 65 | 20 32 20 6f 66 20 66 69 |nto line| 2 of fi|
|000034c0| 65 6c 64 20 22 68 69 67 | 68 4c 6f 77 22 0d 65 6e |eld "hig|hLow".en|
|000034d0| 64 20 69 66 0d 65 6e 64 | 20 63 68 65 63 6b 6d 61 |d if.end| checkma|
|000034e0| 78 4d 69 6e 0d 0d 6f 6e | 20 63 68 65 63 6b 41 6c |xMin..on| checkAl|
|000034f0| 61 72 6d 73 20 63 70 0d | 70 75 74 20 65 6d 70 74 |arms cp.|put empt|
|00003500| 79 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 61 6c |y into f|ield "al|
|00003510| 61 72 6d 22 20 2d 2d 20 | 63 6c 65 61 72 20 22 a5 |arm" -- |clear ".|
|00003520| 22 0d 69 66 20 6c 69 6e | 65 20 31 20 6f 66 20 66 |".if lin|e 1 of f|
|00003530| 69 65 6c 64 20 22 6e 6f | 74 69 66 79 22 ad 65 6d |ield "no|tify".em|
|00003540| 70 74 79 20 74 68 65 6e | 0d 69 66 20 63 70 3e 6c |pty then|.if cp>l|
|00003550| 69 6e 65 20 31 20 6f 66 | 20 66 69 65 6c 64 20 22 |ine 1 of| field "|
|00003560| 6e 6f 74 69 66 79 22 20 | 74 68 65 6e 0d 70 75 74 |notify" |then.put|
|00003570| 20 22 a5 22 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 | "." int|o line 1|
|00003580| 20 6f 66 20 66 69 65 6c | 64 20 22 61 6c 61 72 6d | of fiel|d "alarm|
|00003590| 22 0d 65 6c 73 65 0d 70 | 75 74 20 65 6d 70 74 79 |".else.p|ut empty|
|000035a0| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 31 20 6f 66 20 | into li|ne 1 of |
|000035b0| 66 69 65 6c 64 20 22 61 | 6c 61 72 6d 22 0d 65 6e |field "a|larm".en|
|000035c0| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 69 66 20 6c |d if.end| if.if l|
|000035d0| 69 6e 65 20 32 20 6f 66 | 20 66 69 65 6c 64 20 22 |ine 2 of| field "|
|000035e0| 6e 6f 74 69 66 79 22 ad | 65 6d 70 74 79 20 74 68 |notify".|empty th|
|000035f0| 65 6e 0d 69 66 20 63 70 | 3c 6c 69 6e 65 20 32 20 |en.if cp|<line 2 |
|00003600| 6f 66 20 66 69 65 6c 64 | 20 22 6e 6f 74 69 66 79 |of field| "notify|
|00003610| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 a5 22 20 69 |" then.p|ut "." i|
|00003620| 6e 74 6f 20 6c 69 6e 65 | 20 32 20 6f 66 20 66 69 |nto line| 2 of fi|
|00003630| 65 6c 64 20 22 61 6c 61 | 72 6d 22 0d 65 6c 73 65 |eld "ala|rm".else|
|00003640| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00003650| 6c 69 6e 65 20 32 20 6f | 66 20 66 69 65 6c 64 20 |line 2 o|f field |
|00003660| 22 61 6c 61 72 6d 22 0d | 65 6e 64 20 69 66 0d 65 |"alarm".|end if.e|
|00003670| 6e 64 20 69 66 0d 65 6e | 64 20 63 68 65 63 6b 41 |nd if.en|d checkA|
|00003680| 6c 61 72 6d 73 0d 0d 6f | 6e 20 63 68 65 63 6b 43 |larms..o|n checkC|
|00003690| 61 6e 63 65 6c 20 69 74 | 32 0d 69 66 20 28 69 74 |ancel it|2.if (it|
|000036a0| 32 3d 22 63 61 6e 63 65 | 6c 22 29 20 6f 72 20 28 |2="cance|l") or (|
|000036b0| 69 74 32 3d 65 6d 70 74 | 79 29 20 74 68 65 6e 0d |it2=empt|y) then.|
|000036c0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 62 67 |if there| is a bg|
|000036d0| 20 62 75 74 74 6f 6e 20 | 22 43 61 70 69 74 61 6c | button |"Capital|
|000036e0| 20 67 61 69 6e 73 22 20 | 74 68 65 6e 20 73 65 74 | gains" |then set|
|000036f0| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 62 | the hil|ite of b|
|00003700| 67 20 62 75 74 74 6f 6e | 20 22 43 61 70 69 74 61 |g button| "Capita|
|00003710| 6c 20 67 61 69 6e 73 22 | 20 74 6f 20 66 61 6c 73 |l gains"| to fals|
|00003720| 65 0d 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 43 |e.exit t|o HyperC|
|00003730| 61 72 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 63 |ard.end |if.end c|
|00003740| 68 65 63 6b 43 61 6e 63 | 65 6c 0d 0d 6f 6e 20 78 |heckCanc|el..on x|
|00003750| 63 68 53 65 6c 65 63 74 | 0d 67 6c 6f 62 61 6c 20 |chSelect|.global |
|00003760| 6c 69 73 74 65 72 0d 70 | 75 74 20 22 4e 59 53 45 |lister.p|ut "NYSE|
|00003770| 22 26 72 65 74 75 72 6e | 26 22 41 4d 45 58 22 26 |"&return|&"AMEX"&|
|00003780| 72 65 74 75 72 6e 26 22 | 4f 54 43 22 26 72 65 74 |return&"|OTC"&ret|
|00003790| 75 72 6e 26 22 4d 75 74 | 75 61 6c 20 46 75 6e 64 |urn&"Mut|ual Fund|
|000037a0| 22 26 72 65 74 75 72 6e | 26 22 6f 74 68 65 72 22 |"&return|&"other"|
|000037b0| 20 69 6e 74 6f 20 6c 69 | 73 74 65 72 0d 67 65 74 | into li|ster.get|
|000037c0| 20 4e 54 46 50 6f 70 55 | 70 28 6c 65 66 74 20 6f | NTFPopU|p(left o|
|000037d0| 66 20 74 61 72 67 65 74 | 2d 32 2c 62 6f 74 74 6f |f target|-2,botto|
|000037e0| 6d 20 6f 66 20 74 61 72 | 67 65 74 2d 33 2c 22 6c |m of tar|get-3,"l|
|000037f0| 69 73 74 65 72 22 2c 22 | 47 6c 6f 62 61 6c 22 29 |ister","|Global")|
|00003800| 0d 69 66 20 69 74 3d 30 | 20 74 68 65 6e 20 65 78 |.if it=0| then ex|
|00003810| 69 74 20 78 63 68 53 65 | 6c 65 63 74 0d 70 75 74 |it xchSe|lect.put|
|00003820| 20 6c 61 73 74 20 6c 69 | 6e 65 20 6f 66 20 69 74 | last li|ne of it|
|00003830| 20 69 6e 74 6f 20 70 69 | 63 6b 65 64 0d 69 66 20 | into pi|cked.if |
|00003840| 70 69 63 6b 65 64 3d 22 | 6f 74 68 65 72 22 20 74 |picked="|other" t|
|00003850| 68 65 6e 0d 61 73 6b 20 | 22 57 68 69 63 68 20 65 |hen.ask |"Which e|
|00003860| 78 63 68 61 6e 67 65 3f | 22 20 77 69 74 68 20 22 |xchange?|" with "|
|00003870| 57 68 69 63 68 3f 22 0d | 70 75 74 20 69 74 20 69 |Which?".|put it i|
|00003880| 6e 74 6f 20 70 69 63 6b | 65 64 0d 69 66 20 69 74 |nto pick|ed.if it|
|00003890| 3d 22 57 68 69 63 68 3f | 22 20 74 68 65 6e 20 70 |="Which?|" then p|
|000038a0| 75 74 20 22 3f 22 20 69 | 6e 74 6f 20 70 69 63 6b |ut "?" i|nto pick|
|000038b0| 65 64 0d 63 68 65 63 6b | 63 61 6e 63 65 6c 20 69 |ed.check|cancel i|
|000038c0| 74 0d 72 65 70 65 61 74 | 20 66 6f 72 65 76 65 72 |t.repeat| forever|
|000038d0| 0d 69 66 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 68 |.if numb|er of ch|
|000038e0| 61 72 73 20 69 6e 20 70 | 69 63 6b 65 64 20 3e 36 |ars in p|icked >6|
|000038f0| 20 74 68 65 6e 0d 61 73 | 6b 20 22 50 6c 65 61 73 | then.as|k "Pleas|
|00003900| 65 20 74 72 79 20 61 67 | 61 69 6e 20 77 69 74 68 |e try ag|ain with|
|00003910| 20 36 20 6f 72 20 6c 65 | 73 73 20 63 68 61 72 61 | 6 or le|ss chara|
|00003920| 63 74 65 72 73 3a 22 20 | 77 69 74 68 20 22 57 68 |cters:" |with "Wh|
|00003930| 69 63 68 3f 22 0d 70 75 | 74 20 69 74 20 69 6e 74 |ich?".pu|t it int|
|00003940| 6f 20 70 69 63 6b 65 64 | 0d 69 66 20 69 74 3d 65 |o picked|.if it=e|
|00003950| 6d 70 74 79 20 74 68 65 | 6e 0d 70 75 74 20 22 3f |mpty the|n.put "?|
|00003960| 22 20 69 6e 74 6f 20 70 | 69 63 6b 65 64 0d 65 78 |" into p|icked.ex|
|00003970| 69 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |it repea|t.end if|
|00003980| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 3d 22 |.if the |result="|
|00003990| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 0d 70 75 74 |Cancel" |then.put|
|000039a0| 20 22 3f 22 20 69 6e 74 | 6f 20 70 69 63 6b 65 64 | "?" int|o picked|
|000039b0| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|000039c0| 20 69 66 0d 65 6c 73 65 | 0d 69 66 20 69 74 3d 22 | if.else|.if it="|
|000039d0| 57 68 69 63 68 3f 22 20 | 74 68 65 6e 20 70 75 74 |Which?" |then put|
|000039e0| 20 22 3f 22 20 69 6e 74 | 6f 20 70 69 63 6b 65 64 | "?" int|o picked|
|000039f0| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00003a00| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 | if.end |repeat.e|
|00003a10| 6e 64 20 69 66 0d 69 66 | 20 70 69 63 6b 65 64 3d |nd if.if| picked=|
|00003a20| 22 4d 75 74 75 61 6c 20 | 46 75 6e 64 22 20 74 68 |"Mutual |Fund" th|
|00003a30| 65 6e 20 70 75 74 20 22 | 4d 75 74 75 61 6c 22 20 |en put "|Mutual" |
|00003a40| 69 6e 74 6f 20 70 69 63 | 6b 65 64 0d 70 75 74 20 |into pic|ked.put |
|00003a50| 70 69 63 6b 65 64 20 69 | 6e 74 6f 20 74 68 65 20 |picked i|nto the |
|00003a60| 74 61 72 67 65 74 0d 65 | 6e 64 20 78 63 68 53 65 |target.e|nd xchSe|
|00003a70| 6c 65 63 74 0d 0d 6f 6e | 20 6c 69 6e 6b 53 65 6c |lect..on| linkSel|
|00003a80| 65 63 74 0d 67 6c 6f 62 | 61 6c 20 6c 69 6e 6b 6c |ect.glob|al linkl|
|00003a90| 69 73 74 0d 67 65 74 20 | 4e 54 46 50 6f 70 55 70 |ist.get |NTFPopUp|
|00003aa0| 28 6c 65 66 74 20 6f 66 | 20 74 61 72 67 65 74 2c |(left of| target,|
|00003ab0| 62 6f 74 74 6f 6d 20 6f | 66 20 74 61 72 67 65 74 |bottom o|f target|
|00003ac0| 2d 34 2c 22 6c 69 6e 6b | 6c 69 73 74 22 2c 22 47 |-4,"link|list","G|
|00003ad0| 6c 6f 62 61 6c 22 29 0d | 69 66 20 69 74 3d 30 20 |lobal").|if it=0 |
|00003ae0| 74 68 65 6e 20 65 78 69 | 74 20 6c 69 6e 6b 53 65 |then exi|t linkSe|
|00003af0| 6c 65 63 74 0d 70 75 74 | 20 6c 61 73 74 20 6c 69 |lect.put| last li|
|00003b00| 6e 65 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 74 61 |ne of it| into ta|
|00003b10| 72 67 65 74 0d 69 66 20 | 28 74 68 65 20 73 68 6f |rget.if |(the sho|
|00003b20| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00003b30| 63 64 3d 22 64 69 76 69 | 64 65 6e 64 22 29 20 61 |cd="divi|dend") a|
|00003b40| 6e 64 20 28 69 74 ad 22 | 6e 6f 6e 65 22 29 20 74 |nd (it."|none") t|
|00003b50| 68 65 6e 0d 69 66 20 74 | 68 65 20 68 69 6c 69 74 |hen.if t|he hilit|
|00003b60| 65 20 6f 66 20 62 67 20 | 62 75 74 74 6f 6e 20 69 |e of bg |button i|
|00003b70| 64 20 31 33 20 3d 22 74 | 72 75 65 22 20 74 68 65 |d 13 ="t|rue" the|
|00003b80| 6e 20 2d 2d 20 72 65 69 | 6e 76 65 73 74 69 6e 67 |n -- rei|nvesting|
|00003b90| 0d 62 65 65 70 0d 61 6e | 73 77 65 72 20 22 57 68 |.beep.an|swer "Wh|
|00003ba0| 65 6e 20 79 6f 75 20 72 | 65 69 6e 76 65 73 74 20 |en you r|einvest |
|00003bb0| 61 73 20 73 68 61 72 65 | 73 2c 20 79 6f 75 20 64 |as share|s, you d|
|00003bc0| 6f 6e d5 74 20 6c 69 6e | 6b 20 77 69 74 68 20 61 |on.t lin|k with a|
|00003bd0| 20 62 61 6e 6b 2e 22 0d | 70 75 74 20 22 6e 6f 6e | bank.".|put "non|
|00003be0| 65 22 20 69 6e 74 6f 20 | 74 61 72 67 65 74 0d 65 |e" into |target.e|
|00003bf0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00003c00| 20 6c 69 6e 6b 53 65 6c | 65 63 74 0d 0d 0d 2d 2d | linkSel|ect...--|
|00003c10| 20 a5 a5 20 43 48 45 43 | 4b 20 49 74 65 6d 73 20 | .. CHEC|K Items |
|00003c20| a5 a5 0d 0d 6f 6e 20 63 | 68 65 63 6b 73 74 6f 63 |....on c|heckstoc|
|00003c30| 6b 73 0d 67 6c 6f 62 61 | 6c 20 73 74 6f 63 6b 6c |ks.globa|l stockl|
|00003c40| 69 73 74 2c 62 72 69 65 | 66 73 74 6f 63 6b 73 0d |ist,brie|fstocks.|
|00003c50| 73 65 74 20 6c 6f 63 6b | 6d 65 73 73 61 67 65 73 |set lock|messages|
|00003c60| 20 74 6f 20 74 72 75 65 | 0d 6c 6f 63 6b 20 73 63 | to true|.lock sc|
|00003c70| 72 65 65 6e 0d 70 75 73 | 68 20 63 64 0d 70 75 74 |reen.pus|h cd.put|
|00003c80| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00003c90| 64 73 20 6f 66 20 62 67 | 20 22 73 74 6f 63 6b 73 |ds of bg| "stocks|
|00003ca0| 22 20 69 6e 74 6f 20 63 | 61 72 64 4e 75 6d 0d 73 |" into c|ardNum.s|
|00003cb0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00003cc0| 79 0d 67 6f 20 63 64 20 | 22 73 74 6f 63 6b 70 6f |y.go cd |"stockpo|
|00003cd0| 72 74 22 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |rt".put |empty in|
|00003ce0| 74 6f 20 66 69 65 6c 64 | 20 22 73 74 6f 63 6b 22 |to field| "stock"|
|00003cf0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00003d00| 66 69 65 6c 64 20 22 70 | 6f 72 74 72 65 67 22 0d |field "p|ortreg".|
|00003d10| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 66 |put empt|y into f|
|00003d20| 69 65 6c 64 20 22 73 68 | 61 72 65 73 22 0d 70 75 |ield "sh|ares".pu|
|00003d30| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 66 69 65 |t empty |into fie|
|00003d40| 6c 64 20 22 73 79 6d 62 | 6f 6c 22 0d 70 75 74 20 |ld "symb|ol".put |
|00003d50| 65 6d 70 74 79 20 69 6e | 74 6f 20 66 69 65 6c 64 |empty in|to field|
|00003d60| 20 22 69 6e 69 74 70 72 | 69 63 65 22 0d 70 75 74 | "initpr|ice".put|
|00003d70| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 66 69 65 6c | empty i|nto fiel|
|00003d80| 64 20 22 70 72 69 63 65 | 22 0d 70 75 74 20 65 6d |d "price|".put em|
|00003d90| 70 74 79 20 69 6e 74 6f | 20 66 69 65 6c 64 20 22 |pty into| field "|
|00003da0| 70 63 74 22 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |pct".put| empty i|
|00003db0| 6e 74 6f 20 66 69 65 6c | 64 20 22 76 61 6c 75 65 |nto fiel|d "value|
|00003dc0| 22 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |".put em|pty into|
|00003dd0| 20 66 69 65 6c 64 20 22 | 76 61 6c 63 68 61 6e 67 | field "|valchang|
|00003de0| 65 22 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |e".put e|mpty int|
|00003df0| 6f 20 66 69 65 6c 64 20 | 22 76 61 6c 64 69 66 66 |o field |"valdiff|
|00003e00| 73 22 0d 0d 6d 61 6b 65 | 53 74 6f 63 6b 4c 69 73 |s"..make|StockLis|
|00003e10| 74 0d 0d 2d 2d 20 6e 65 | 65 64 20 74 6f 20 64 6f |t..-- ne|ed to do|
|00003e20| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 61 | the fol|lowing a|
|00003e30| 66 74 65 72 20 73 74 6f | 63 6b 6c 69 73 74 20 73 |fter sto|cklist s|
|00003e40| 65 74 20 75 70 2c 20 73 | 6f 20 6e 65 77 20 73 74 |et up, s|o new st|
|00003e50| 6f 63 6b 20 69 6e 20 73 | 4c 69 73 74 20 74 6f 20 |ock in s|List to |
|00003e60| 64 75 6d 70 0d 72 65 70 | 65 61 74 20 77 69 74 68 |dump.rep|eat with|
|00003e70| 20 73 3d 32 20 74 6f 20 | 63 61 72 64 6e 75 6d 0d | s=2 to |cardnum.|
|00003e80| 70 75 74 20 22 28 22 26 | 28 73 2d 31 29 26 22 2f |put "("&|(s-1)&"/|
|00003e90| 22 26 28 63 61 72 64 6e | 75 6d 2d 31 29 26 22 29 |"&(cardn|um-1)&")|
|00003ea0| 22 20 69 6e 74 6f 20 6d | 65 74 65 72 0d 73 65 74 |" into m|eter.set|
|00003eb0| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00003ec0| 67 6f 20 63 64 20 73 20 | 6f 66 20 62 67 20 73 74 |go cd s |of bg st|
|00003ed0| 6f 63 6b 73 0d 70 75 74 | 20 22 43 68 65 63 6b 69 |ocks.put| "Checki|
|00003ee0| 6e 67 20 73 74 6f 63 6b | 73 20 22 26 6d 65 74 65 |ng stock|s "&mete|
|00003ef0| 72 26 22 3a 20 22 26 28 | 74 68 65 20 73 68 6f 72 |r&": "&(|the shor|
|00003f00| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 63 |t name o|f this c|
|00003f10| 64 29 0d 69 66 20 62 72 | 69 65 66 73 74 6f 63 6b |d).if br|iefstock|
|00003f20| 73 3d 22 74 72 75 65 22 | 20 74 68 65 6e 0d 2d 2d |s="true"| then.--|
|00003f30| 20 63 61 6c 63 73 74 6f | 63 6b 0d 2d 2d 20 67 65 | calcsto|ck.-- ge|
|00003f40| 74 53 74 61 6e 64 69 6e | 67 0d 64 75 6d 70 74 6f |tStandin|g.dumpto|
|00003f50| 53 75 6d 6d 61 72 79 20 | 2d 2d a5 0d 65 6c 73 65 |Summary |--..else|
|00003f60| 20 2d 2d 20 6d 6f 72 65 | 20 6d 61 6a 6f 72 20 72 | -- more| major r|
|00003f70| 65 70 61 69 72 0d 70 75 | 74 20 65 6d 70 74 79 20 |epair.pu|t empty |
|00003f80| 69 6e 74 6f 20 66 69 65 | 6c 64 20 22 73 74 6f 63 |into fie|ld "stoc|
|00003f90| 6b 72 65 67 22 0d 2d 2d | 20 6e 6f 77 2c 20 72 65 |kreg".--| now, re|
|00003fa0| 2d 69 6e 73 65 72 74 20 | 61 6c 6c 20 6f 66 20 22 |-insert |all of "|
|00003fb0| 64 61 74 61 22 20 76 61 | 6c 75 65 73 20 69 6e 74 |data" va|lues int|
|00003fc0| 6f 20 73 74 6f 63 6b 72 | 65 67 20 66 69 65 6c 64 |o stockr|eg field|
|00003fd0| 0d 2d 2d 20 63 6f 6e 76 | 65 72 74 20 22 2d 22 20 |.-- conv|ert "-" |
|00003fe0| 63 6f 6d 6d 69 73 73 69 | 6f 6e 73 20 74 6f 20 22 |commissi|ons to "|
|00003ff0| 24 30 2e 30 30 22 20 2d | 2d 20 66 72 6f 6d 20 6f |$0.00" -|- from o|
|00004000| 6c 64 65 72 20 76 65 72 | 73 69 6f 6e 73 3b 20 74 |lder ver|sions; t|
|00004010| 68 69 73 20 69 73 20 64 | 6f 6e 65 20 61 66 74 65 |his is d|one afte|
|00004020| 72 20 69 6d 70 6f 72 74 | 0d 72 65 70 65 61 74 20 |r import|.repeat |
|00004030| 77 69 74 68 20 79 3d 31 | 20 74 6f 20 74 68 65 20 |with y=1| to the |
|00004040| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00004050| 6f 66 20 66 69 65 6c 64 | 20 22 64 61 74 61 22 0d |of field| "data".|
|00004060| 69 66 20 28 69 74 65 6d | 20 36 20 6f 66 20 6c 69 |if (item| 6 of li|
|00004070| 6e 65 20 79 20 6f 66 20 | 66 69 65 6c 64 20 22 64 |ne y of |field "d|
|00004080| 61 74 61 22 29 3d 22 2d | 22 20 74 68 65 6e 0d 70 |ata")="-|" then.p|
|00004090| 75 74 20 22 24 30 2e 30 | 30 22 20 69 6e 74 6f 20 |ut "$0.0|0" into |
|000040a0| 69 74 65 6d 20 36 20 6f | 66 20 6c 69 6e 65 20 79 |item 6 o|f line y|
|000040b0| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|000040c0| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 6c 69 6e 65 |.end if.|put line|
|000040d0| 20 79 20 6f 66 20 66 69 | 65 6c 64 20 22 64 61 74 | y of fi|eld "dat|
|000040e0| 61 22 20 69 6e 74 6f 20 | 64 64 64 0d 70 75 74 20 |a" into |ddd.put |
|000040f0| 61 6c 69 67 6e 53 74 6f | 63 6b 73 74 75 66 66 28 |alignSto|ckstuff(|
|00004100| 64 64 64 29 20 69 6e 74 | 6f 20 6c 69 6e 65 20 79 |ddd) int|o line y|
|00004110| 20 6f 66 20 66 69 65 6c | 64 20 22 73 74 6f 63 6b | of fiel|d "stock|
|00004120| 72 65 67 22 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |reg".end| repeat.|
|00004130| 63 6f 75 6e 74 73 68 61 | 72 65 73 20 2d 2d a5 0d |countsha|res --..|
|00004140| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00004150| 74 0d 67 6f 20 63 64 20 | 22 73 74 6f 63 6b 70 6f |t.go cd |"stockpo|
|00004160| 72 74 22 0d 73 65 6e 64 | 20 22 75 70 64 61 74 65 |rt".send| "update|
|00004170| 22 20 74 6f 20 74 68 69 | 73 20 63 64 0d 70 75 74 |" to thi|s cd.put|
|00004180| 20 22 4e 61 6d 65 22 20 | 69 6e 74 6f 20 66 69 65 | "Name" |into fie|
|00004190| 6c 64 20 22 73 6f 72 74 | 74 79 70 65 22 0d 70 75 |ld "sort|type".pu|
|000041a0| 74 20 22 66 61 6c 73 65 | 22 20 69 6e 74 6f 20 62 |t "false|" into b|
|000041b0| 72 69 65 66 73 74 6f 63 | 6b 73 0d 70 6f 70 20 63 |riefstoc|ks.pop c|
|000041c0| 64 0d 65 6e 64 20 63 68 | 65 63 6b 73 74 6f 63 6b |d.end ch|eckstock|
|000041d0| 73 0d 0d 6f 6e 20 6d 61 | 6b 65 53 74 6f 63 6b 4c |s..on ma|keStockL|
|000041e0| 69 73 74 0d 67 6c 6f 62 | 61 6c 20 73 74 6f 63 6b |ist.glob|al stock|
|000041f0| 4c 69 73 74 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |List.put| empty i|
|00004200| 6e 74 6f 20 74 65 6d 70 | 0d 70 75 74 20 74 68 65 |nto temp|.put the|
|00004210| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 20 6f | number |of cds o|
|00004220| 66 20 62 67 20 22 73 74 | 6f 63 6b 73 22 20 69 6e |f bg "st|ocks" in|
|00004230| 74 6f 20 63 63 0d 73 6f | 72 74 20 62 67 20 22 73 |to cc.so|rt bg "s|
|00004240| 74 6f 63 6b 73 22 20 62 | 79 20 66 69 65 6c 64 20 |tocks" b|y field |
|00004250| 22 73 74 6f 63 6b 22 0d | 72 65 70 65 61 74 20 77 |"stock".|repeat w|
|00004260| 69 74 68 20 73 3d 32 20 | 74 6f 20 63 63 0d 70 75 |ith s=2 |to cc.pu|
|00004270| 74 20 28 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |t (the s|hort nam|
|00004280| 65 20 6f 66 20 63 64 20 | 73 20 6f 66 20 62 67 20 |e of cd |s of bg |
|00004290| 22 73 74 6f 63 6b 73 22 | 29 20 69 6e 74 6f 20 73 |"stocks"|) into s|
|000042a0| 31 0d 70 75 74 20 73 31 | 20 26 20 72 65 74 75 72 |1.put s1| & retur|
|000042b0| 6e 20 61 66 74 65 72 20 | 74 65 6d 70 0d 65 6e 64 |n after |temp.end|
|000042c0| 20 72 65 70 65 61 74 0d | 73 65 74 20 63 75 72 73 | repeat.|set curs|
|000042d0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 70 75 74 20 22 |or to bu|sy.put "|
|000042e0| a5 20 4e 65 77 20 73 74 | 6f 63 6b 22 26 72 65 74 |. New st|ock"&ret|
|000042f0| 75 72 6e 26 22 28 2d 22 | 26 20 72 65 74 75 72 6e |urn&"(-"|& return|
|00004300| 20 62 65 66 6f 72 65 20 | 74 65 6d 70 0d 70 75 74 | before |temp.put|
|00004310| 20 22 28 2d 22 26 72 65 | 74 75 72 6e 26 22 53 74 | "(-"&re|turn&"St|
|00004320| 6f 63 6b 20 50 6f 72 74 | 66 6f 6c 69 6f 20 53 75 |ock Port|folio Su|
|00004330| 6d 6d 61 72 79 22 20 61 | 66 74 65 72 20 74 65 6d |mmary" a|fter tem|
|00004340| 70 0d 70 75 74 20 74 65 | 6d 70 20 69 6e 74 6f 20 |p.put te|mp into |
|00004350| 73 74 6f 63 6b 6c 69 73 | 74 0d 70 75 74 20 74 65 |stocklis|t.put te|
|00004360| 6d 70 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 22 73 |mp into |field "s|
|00004370| 4c 69 73 74 22 20 6f 66 | 20 66 69 72 73 74 20 63 |List" of| first c|
|00004380| 64 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 3d |d.repeat| with x=|
|00004390| 31 20 74 6f 20 32 0d 64 | 65 6c 65 74 65 20 66 69 |1 to 2.d|elete fi|
|000043a0| 72 73 74 20 6c 69 6e 65 | 20 6f 66 20 74 65 6d 70 |rst line| of temp|
|000043b0| 0d 64 65 6c 65 74 65 20 | 6c 61 73 74 20 6c 69 6e |.delete |last lin|
|000043c0| 65 20 6f 66 20 74 65 6d | 70 0d 65 6e 64 20 72 65 |e of tem|p.end re|
|000043d0| 70 65 61 74 0d 70 75 74 | 20 74 65 6d 70 20 69 6e |peat.put| temp in|
|000043e0| 74 6f 20 66 69 65 6c 64 | 20 22 6a 75 73 74 53 74 |to field| "justSt|
|000043f0| 6f 63 6b 73 22 20 6f 66 | 20 66 69 72 73 74 20 63 |ocks" of| first c|
|00004400| 64 20 2d 2d 20 73 74 6f | 63 6b 20 6e 61 6d 65 73 |d -- sto|ck names|
|00004410| 20 6f 6e 6c 79 0d 70 75 | 74 20 74 65 6d 70 20 69 | only.pu|t temp i|
|00004420| 6e 74 6f 20 66 69 65 6c | 64 20 22 73 74 6f 63 6b |nto fiel|d "stock|
|00004430| 22 20 6f 66 20 63 64 20 | 22 73 74 6f 63 6b 70 6f |" of cd |"stockpo|
|00004440| 72 74 22 0d 65 6e 64 20 | 6d 61 6b 65 53 74 6f 63 |rt".end |makeStoc|
|00004450| 6b 4c 69 73 74 0d 0d 6f | 6e 20 63 68 65 63 6b 73 |kList..o|n checks|
|00004460| 74 6f 63 6b 73 42 72 69 | 65 66 0d 67 6c 6f 62 61 |tocksBri|ef.globa|
|00004470| 6c 20 62 72 69 65 66 73 | 74 6f 63 6b 73 0d 70 75 |l briefs|tocks.pu|
|00004480| 74 20 22 74 72 75 65 22 | 20 69 6e 74 6f 20 62 72 |t "true"| into br|
|00004490| 69 65 66 73 74 6f 63 6b | 73 0d 63 68 65 63 6b 73 |iefstock|s.checks|
|000044a0| 74 6f 63 6b 73 0d 65 6e | 64 20 63 68 65 63 6b 73 |tocks.en|d checks|
|000044b0| 74 6f 63 6b 73 42 72 69 | 65 66 0d 0d 6f 6e 20 63 |tocksBri|ef..on c|
|000044c0| 68 65 63 6b 62 61 6e 6b | 73 0d 67 6c 6f 62 61 6c |heckbank|s.global|
|000044d0| 20 62 61 6e 6b 6c 69 73 | 74 2c 6c 69 6e 6b 6c 69 | banklis|t,linkli|
|000044e0| 73 74 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |st.put e|mpty int|
|000044f0| 6f 20 74 65 6d 70 0d 6c | 6f 63 6b 20 73 63 72 65 |o temp.l|ock scre|
|00004500| 65 6e 0d 70 75 74 20 22 | 43 68 65 63 6b 69 6e 67 |en.put "|Checking|
|00004510| 20 62 61 6e 6b 73 20 2e | 20 2e 20 2e 22 0d 73 65 | banks .| . .".se|
|00004520| 74 20 6c 6f 63 6b 6d 65 | 73 73 61 67 65 73 20 74 |t lockme|ssages t|
|00004530| 6f 20 74 72 75 65 0d 0d | 70 75 73 68 20 63 64 0d |o true..|push cd.|
|00004540| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00004550| 66 20 63 64 73 20 6f 66 | 20 62 67 20 22 62 61 6e |f cds of| bg "ban|
|00004560| 6b 73 22 20 69 6e 74 6f | 20 63 61 72 64 4e 75 6d |ks" into| cardNum|
|00004570| 0d 73 6f 72 74 20 62 67 | 20 22 62 61 6e 6b 73 22 |.sort bg| "banks"|
|00004580| 20 62 79 20 66 69 65 6c | 64 20 22 62 61 6e 6b 22 | by fiel|d "bank"|
|00004590| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 73 3d 32 |.repeat |with s=2|
|000045a0| 20 74 6f 20 63 61 72 64 | 6e 75 6d 0d 73 65 74 20 | to card|num.set |
|000045b0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 67 |cursor t|o busy.g|
|000045c0| 6f 20 63 64 20 73 20 6f | 66 20 62 67 20 62 61 6e |o cd s o|f bg ban|
|000045d0| 6b 73 0d 70 75 74 20 28 | 74 68 65 20 73 68 6f 72 |ks.put (|the shor|
|000045e0| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 63 |t name o|f this c|
|000045f0| 64 29 20 69 6e 74 6f 20 | 73 31 0d 70 75 74 20 73 |d) into |s1.put s|
|00004600| 31 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |1 & retu|rn after|
|00004610| 20 74 65 6d 70 0d 65 6e | 64 20 72 65 70 65 61 74 | temp.en|d repeat|
|00004620| 0d 70 75 74 20 22 a5 20 | 4e 65 77 20 62 61 6e 6b |.put ". |New bank|
|00004630| 22 26 72 65 74 75 72 6e | 26 22 28 2d 22 26 20 72 |"&return|&"(-"& r|
|00004640| 65 74 75 72 6e 20 62 65 | 66 6f 72 65 20 74 65 6d |eturn be|fore tem|
|00004650| 70 0d 70 75 74 20 22 6e | 6f 6e 65 22 20 69 6e 74 |p.put "n|one" int|
|00004660| 6f 20 6c 69 6e 6b 6c 69 | 73 74 0d 70 75 74 20 74 |o linkli|st.put t|
|00004670| 65 6d 70 20 69 6e 74 6f | 20 62 62 0d 64 65 6c 65 |emp into| bb.dele|
|00004680| 74 65 20 6c 69 6e 65 20 | 31 20 74 6f 20 32 20 6f |te line |1 to 2 o|
|00004690| 66 20 62 62 0d 70 75 74 | 20 72 65 74 75 72 6e 26 |f bb.put| return&|
|000046a0| 22 28 2d 22 26 72 65 74 | 75 72 6e 26 62 62 20 61 |"(-"&ret|urn&bb a|
|000046b0| 66 74 65 72 20 6c 69 6e | 6b 6c 69 73 74 0d 70 75 |fter lin|klist.pu|
|000046c0| 74 20 74 65 6d 70 20 69 | 6e 74 6f 20 66 69 65 6c |t temp i|nto fiel|
|000046d0| 64 20 22 62 4c 69 73 74 | 22 20 6f 66 20 66 69 72 |d "bList|" of fir|
|000046e0| 73 74 20 63 64 0d 70 75 | 74 20 74 65 6d 70 20 69 |st cd.pu|t temp i|
|000046f0| 6e 74 6f 20 62 61 6e 6b | 6c 69 73 74 0d 70 75 74 |nto bank|list.put|
|00004700| 20 6c 69 6e 6b 4c 69 73 | 74 20 69 6e 74 6f 20 66 | linkLis|t into f|
|00004710| 69 65 6c 64 20 22 6c 69 | 6e 6b 4c 69 73 74 22 20 |ield "li|nkList" |
|00004720| 6f 66 20 66 69 72 73 74 | 20 63 64 0d 70 6f 70 20 |of first| cd.pop |
|00004730| 63 64 0d 65 6e 64 20 63 | 68 65 63 6b 62 61 6e 6b |cd.end c|heckbank|
|00004740| 73 0d 0d 6f 6e 20 63 68 | 65 63 6b 4c 6f 61 6e 73 |s..on ch|eckLoans|
|00004750| 0d 67 6c 6f 62 61 6c 20 | 6c 6f 61 6e 6c 69 73 74 |.global |loanlist|
|00004760| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00004770| 74 65 6d 70 0d 70 75 74 | 20 22 43 68 65 63 6b 69 |temp.put| "Checki|
|00004780| 6e 67 20 6c 6f 61 6e 73 | 20 2e 20 2e 20 2e 22 0d |ng loans| . . .".|
|00004790| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 73 65 74 20 |lock scr|een.set |
|000047a0| 6c 6f 63 6b 6d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockmess|ages to |
|000047b0| 74 72 75 65 0d 0d 70 75 | 73 68 20 63 64 0d 70 75 |true..pu|sh cd.pu|
|000047c0| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|000047d0| 63 64 73 20 6f 66 20 62 | 67 20 22 4c 6f 61 6e 73 |cds of b|g "Loans|
|000047e0| 22 20 69 6e 74 6f 20 63 | 61 72 64 4e 75 6d 0d 73 |" into c|ardNum.s|
|000047f0| 6f 72 74 20 62 67 20 22 | 4c 6f 61 6e 73 22 20 62 |ort bg "|Loans" b|
|00004800| 79 20 66 69 65 6c 64 20 | 22 4c 6f 61 6e 22 0d 72 |y field |"Loan".r|
|00004810| 65 70 65 61 74 20 77 69 | 74 68 20 73 3d 32 20 74 |epeat wi|th s=2 t|
|00004820| 6f 20 63 61 72 64 6e 75 | 6d 0d 73 65 74 20 63 75 |o cardnu|m.set cu|
|00004830| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 67 6f 20 |rsor to |busy.go |
|00004840| 63 64 20 73 20 6f 66 20 | 62 67 20 4c 6f 61 6e 73 |cd s of |bg Loans|
|00004850| 0d 70 75 74 20 28 74 68 | 65 20 73 68 6f 72 74 20 |.put (th|e short |
|00004860| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 29 |name of |this cd)|
|00004870| 20 69 6e 74 6f 20 73 31 | 0d 70 75 74 20 73 31 20 | into s1|.put s1 |
|00004880| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 74 |& return| after t|
|00004890| 65 6d 70 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 |emp.end |repeat.p|
|000048a0| 75 74 20 22 a5 20 4e 65 | 77 20 6c 6f 61 6e 22 26 |ut ". Ne|w loan"&|
|000048b0| 72 65 74 75 72 6e 26 22 | 28 2d 22 26 20 72 65 74 |return&"|(-"& ret|
|000048c0| 75 72 6e 20 62 65 66 6f | 72 65 20 74 65 6d 70 0d |urn befo|re temp.|
|000048d0| 70 75 74 20 74 65 6d 70 | 20 69 6e 74 6f 20 66 69 |put temp| into fi|
|000048e0| 65 6c 64 20 22 6c 4c 69 | 73 74 22 20 6f 66 20 66 |eld "lLi|st" of f|
|000048f0| 69 72 73 74 20 63 64 0d | 70 75 74 20 74 65 6d 70 |irst cd.|put temp|
|00004900| 20 69 6e 74 6f 20 6c 6f | 61 6e 6c 69 73 74 0d 70 | into lo|anlist.p|
|00004910| 6f 70 20 63 64 0d 65 6e | 64 20 63 68 65 63 6b 4c |op cd.en|d checkL|
|00004920| 6f 61 6e 73 0d 0d 6f 6e | 20 63 68 65 63 6b 4d 69 |oans..on| checkMi|
|00004930| 73 63 73 0d 70 75 74 20 | 22 43 68 65 63 6b 69 6e |scs.put |"Checkin|
|00004940| 67 20 6d 69 73 63 2e 20 | 61 73 73 65 74 73 20 2e |g misc. |assets .|
|00004950| 20 2e 20 2e 20 22 0d 67 | 6c 6f 62 61 6c 20 6d 69 | . . ".g|lobal mi|
|00004960| 73 63 4c 69 73 74 0d 70 | 75 74 20 65 6d 70 74 79 |scList.p|ut empty|
|00004970| 20 69 6e 74 6f 20 74 65 | 6d 70 0d 6c 6f 63 6b 20 | into te|mp.lock |
|00004980| 73 63 72 65 65 6e 0d 73 | 65 74 20 6c 6f 63 6b 6d |screen.s|et lockm|
|00004990| 65 73 73 61 67 65 73 20 | 74 6f 20 74 72 75 65 0d |essages |to true.|
|000049a0| 0d 70 75 73 68 20 63 64 | 0d 70 75 74 20 74 68 65 |.push cd|.put the|
|000049b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 20 6f | number |of cds o|
|000049c0| 66 20 62 67 20 22 6d 69 | 73 63 73 22 20 69 6e 74 |f bg "mi|scs" int|
|000049d0| 6f 20 63 61 72 64 4e 75 | 6d 0d 73 6f 72 74 20 62 |o cardNu|m.sort b|
|000049e0| 67 20 22 4d 69 73 63 73 | 22 20 62 79 20 66 69 65 |g "Miscs|" by fie|
|000049f0| 6c 64 20 22 4d 69 73 63 | 22 0d 72 65 70 65 61 74 |ld "Misc|".repeat|
|00004a00| 20 77 69 74 68 20 73 3d | 32 20 74 6f 20 63 61 72 | with s=|2 to car|
|00004a10| 64 6e 75 6d 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |dnum.set| cursor |
|00004a20| 74 6f 20 62 75 73 79 0d | 67 6f 20 63 64 20 73 20 |to busy.|go cd s |
|00004a30| 6f 66 20 62 67 20 22 4d | 69 73 63 73 22 0d 70 75 |of bg "M|iscs".pu|
|00004a40| 74 20 28 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |t (the s|hort nam|
|00004a50| 65 20 6f 66 20 74 68 69 | 73 20 63 64 29 20 69 6e |e of thi|s cd) in|
|00004a60| 74 6f 20 73 31 0d 70 75 | 74 20 73 31 20 26 20 72 |to s1.pu|t s1 & r|
|00004a70| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 65 6d 70 |eturn af|ter temp|
|00004a80| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|00004a90| 22 20 20 20 20 20 20 20 | 20 c7 20 41 73 73 65 74 |" | . Asset|
|00004aa0| 73 20 c8 22 26 72 65 74 | 75 72 6e 26 22 28 2d 22 |s ."&ret|urn&"(-"|
|00004ab0| 26 72 65 74 75 72 6e 26 | 22 a5 20 4e 65 77 20 63 |&return&|". New c|
|00004ac0| 75 73 74 6f 6d 20 61 73 | 73 65 74 22 26 72 65 74 |ustom as|set"&ret|
|00004ad0| 75 72 6e 26 22 28 2d 22 | 26 20 72 65 74 75 72 6e |urn&"(-"|& return|
|00004ae0| 20 62 65 66 6f 72 65 20 | 74 65 6d 70 0d 70 75 74 | before |temp.put|
|00004af0| 20 66 69 65 6c 64 20 22 | 6f 74 68 65 72 4c 69 73 | field "|otherLis|
|00004b00| 74 22 20 6f 66 20 66 69 | 72 73 74 20 63 64 20 61 |t" of fi|rst cd a|
|00004b10| 66 74 65 72 20 74 65 6d | 70 20 2d 2d 20 22 6f 74 |fter tem|p -- "ot|
|00004b20| 68 65 72 6c 69 73 74 22 | 20 69 73 20 70 72 65 2d |herlist"| is pre-|
|00004b30| 73 65 74 20 69 6e 66 6f | 0d 70 75 74 20 74 65 6d |set info|.put tem|
|00004b40| 70 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 6d 4c |p into f|ield "mL|
|00004b50| 69 73 74 22 20 6f 66 20 | 66 69 72 73 74 20 63 64 |ist" of |first cd|
|00004b60| 20 2d 2d 20 66 6f 72 20 | 73 74 6f 72 61 67 65 0d | -- for |storage.|
|00004b70| 70 75 74 20 74 65 6d 70 | 20 69 6e 74 6f 20 6d 69 |put temp| into mi|
|00004b80| 73 63 4c 69 73 74 0d 70 | 6f 70 20 63 64 0d 65 6e |scList.p|op cd.en|
|00004b90| 64 20 63 68 65 63 6b 4d | 69 73 63 73 0d 0d 0d 2d |d checkM|iscs...-|
|00004ba0| 2d 20 a5 20 4e 45 57 20 | 49 74 65 6d 73 20 a5 0d |- . NEW |Items ..|
|00004bb0| 0d 6f 6e 20 6d 61 6b 65 | 6e 65 77 20 6e 6e 0d 67 |.on make|new nn.g|
|00004bc0| 6c 6f 62 61 6c 20 63 61 | 72 64 66 72 6f 6d 0d 70 |lobal ca|rdfrom.p|
|00004bd0| 75 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |ut the n|ame of t|
|00004be0| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 63 61 72 64 |his cd i|nto card|
|00004bf0| 66 72 6f 6d 0d 76 69 73 | 75 61 6c 20 69 72 69 73 |from.vis|ual iris|
|00004c00| 20 6f 70 65 6e 20 66 61 | 73 74 0d 64 6f 20 22 67 | open fa|st.do "g|
|00004c10| 6f 20 63 64 20 6e 65 77 | 22 26 6e 6e 0d 65 6e 64 |o cd new|"&nn.end|
|00004c20| 20 6d 61 6b 65 6e 65 77 | 0d 0d 6f 6e 20 6e 65 78 | makenew|..on nex|
|00004c30| 74 62 67 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |tbg.lock| screen.|
|00004c40| 73 65 74 20 6c 6f 63 6b | 6d 65 73 73 61 67 65 73 |set lock|messages|
|00004c50| 20 74 6f 20 74 72 75 65 | 0d 67 6f 20 6e 65 78 74 | to true|.go next|
|00004c60| 20 63 64 20 6f 66 20 74 | 68 69 73 20 62 67 0d 69 | cd of t|his bg.i|
|00004c70| 66 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |f short |name of |
|00004c80| 74 68 69 73 20 63 64 3d | 22 62 6c 61 6e 6b 65 72 |this cd=|"blanker|
|00004c90| 22 20 74 68 65 6e 0d 67 | 6f 20 6e 65 78 74 20 63 |" then.g|o next c|
|00004ca0| 64 20 6f 66 20 74 68 69 | 73 20 62 67 0d 65 6e 64 |d of thi|s bg.end|
|00004cb0| 20 69 66 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 | if.unlo|ck scree|
|00004cc0| 6e 20 77 69 74 68 20 77 | 69 70 65 20 6c 65 66 74 |n with w|ipe left|
|00004cd0| 0d 6f 70 65 6e 43 61 72 | 64 0d 65 6e 64 20 6e 65 |.openCar|d.end ne|
|00004ce0| 78 74 62 67 0d 0d 6f 6e | 20 70 72 65 76 62 67 0d |xtbg..on| prevbg.|
|00004cf0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 73 65 74 20 |lock scr|een.set |
|00004d00| 6c 6f 63 6b 6d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockmess|ages to |
|00004d10| 74 72 75 65 0d 67 6f 20 | 70 72 65 76 20 63 64 20 |true.go |prev cd |
|00004d20| 6f 66 20 74 68 69 73 20 | 62 67 0d 69 66 20 73 68 |of this |bg.if sh|
|00004d30| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00004d40| 20 63 64 3d 22 62 6c 61 | 6e 6b 65 72 22 20 74 68 | cd="bla|nker" th|
|00004d50| 65 6e 0d 67 6f 20 70 72 | 65 76 20 63 64 20 6f 66 |en.go pr|ev cd of|
|00004d60| 20 74 68 69 73 20 62 67 | 0d 65 6e 64 20 69 66 0d | this bg|.end if.|
|00004d70| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 20 77 69 |unlock s|creen wi|
|00004d80| 74 68 20 77 69 70 65 20 | 72 69 67 68 74 0d 6f 70 |th wipe |right.op|
|00004d90| 65 6e 43 61 72 64 0d 65 | 6e 64 20 70 72 65 76 62 |enCard.e|nd prevb|
|00004da0| 67 0d 0d 6f 6e 20 65 64 | 69 74 4e 61 6d 65 0d 6c |g..on ed|itName.l|
|00004db0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 73 65 74 20 6c |ock scre|en.set l|
|00004dc0| 6f 63 6b 6d 65 73 73 61 | 67 65 73 20 74 6f 20 74 |ockmessa|ges to t|
|00004dd0| 72 75 65 0d 70 75 74 20 | 73 68 6f 72 74 20 6e 61 |rue.put |short na|
|00004de0| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 6e |me of th|is cd in|
|00004df0| 74 6f 20 6f 6c 64 6e 61 | 6d 65 0d 70 75 74 20 6c |to oldna|me.put l|
|00004e00| 69 6e 65 20 31 20 6f 66 | 20 74 61 72 67 65 74 20 |ine 1 of| target |
|00004e10| 69 6e 74 6f 20 71 71 0d | 61 73 6b 20 22 43 68 61 |into qq.|ask "Cha|
|00004e20| 6e 67 65 20 6e 61 6d 65 | 20 74 6f 3a 22 20 77 69 |nge name| to:" wi|
|00004e30| 74 68 20 71 71 0d 63 68 | 65 63 6b 43 61 6e 63 65 |th qq.ch|eckCance|
|00004e40| 6c 20 69 74 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |l it.put| it into|
|00004e50| 20 6e 65 77 4e 61 6d 65 | 0d 65 64 69 74 54 68 65 | newName|.editThe|
|00004e60| 4e 61 6d 65 20 6e 65 77 | 4e 61 6d 65 0d 70 75 74 |Name new|Name.put|
|00004e70| 20 6e 65 77 4e 61 6d 65 | 20 69 6e 74 6f 20 74 61 | newName| into ta|
|00004e80| 72 67 65 74 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |rget.loc|k screen|
|00004e90| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e |.put the| short n|
|00004ea0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 62 67 20 69 |ame of t|his bg i|
|00004eb0| 6e 74 6f 20 62 67 6e 61 | 6d 65 0d 73 65 74 20 74 |nto bgna|me.set t|
|00004ec0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |he name |of this |
|00004ed0| 63 64 20 74 6f 20 6e 65 | 77 4e 61 6d 65 0d 69 66 |cd to ne|wName.if|
|00004ee0| 20 62 67 6e 61 6d 65 3d | 22 73 74 6f 63 6b 73 22 | bgname=|"stocks"|
|00004ef0| 20 74 68 65 6e 0d 63 68 | 65 63 6b 73 74 6f 63 6b | then.ch|eckstock|
|00004f00| 73 42 72 69 65 66 0d 65 | 6c 73 65 0d 64 6f 20 22 |sBrief.e|lse.do "|
|00004f10| 63 68 65 63 6b 22 26 62 | 67 6e 61 6d 65 0d 65 6e |check"&b|gname.en|
|00004f20| 64 20 69 66 0d 68 69 64 | 65 20 6d 73 67 0d 67 6f |d if.hid|e msg.go|
|00004f30| 20 63 64 20 6e 65 77 4e | 61 6d 65 0d 65 6e 64 20 | cd newN|ame.end |
|00004f40| 65 64 69 74 4e 61 6d 65 | 0d 0d 6f 6e 20 65 64 69 |editName|..on edi|
|00004f50| 74 54 68 65 4e 61 6d 65 | 20 70 69 63 6b 65 64 0d |tTheName| picked.|
|00004f60| 72 65 70 65 61 74 20 66 | 6f 72 65 76 65 72 0d 69 |repeat f|orever.i|
|00004f70| 66 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 68 61 72 |f number| of char|
|00004f80| 73 20 69 6e 20 70 69 63 | 6b 65 64 20 3e 32 35 20 |s in pic|ked >25 |
|00004f90| 74 68 65 6e 0d 62 65 65 | 70 0d 61 73 6b 20 22 50 |then.bee|p.ask "P|
|00004fa0| 6c 65 61 73 65 20 74 72 | 79 20 61 67 61 69 6e 20 |lease tr|y again |
|00004fb0| 77 69 74 68 20 32 35 20 | 6f 72 20 6c 65 73 73 20 |with 25 |or less |
|00004fc0| 63 68 61 72 61 63 74 65 | 72 73 3a 22 20 77 69 74 |characte|rs:" wit|
|00004fd0| 68 20 22 6e 61 6d 65 3f | 22 0d 70 75 74 20 69 74 |h "name?|".put it|
|00004fe0| 20 69 6e 74 6f 20 70 69 | 63 6b 65 64 0d 69 66 20 | into pi|cked.if |
|00004ff0| 69 74 3d 65 6d 70 74 79 | 20 74 68 65 6e 0d 70 75 |it=empty| then.pu|
|00005000| 74 20 22 3f 22 20 69 6e | 74 6f 20 70 69 63 6b 65 |t "?" in|to picke|
|00005010| 64 0d 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |d.exit r|epeat.en|
|00005020| 64 20 69 66 0d 69 66 20 | 74 68 65 20 72 65 73 75 |d if.if |the resu|
|00005030| 6c 74 3d 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e |lt="Canc|el" then|
|00005040| 0d 70 75 74 20 22 3f 22 | 20 69 6e 74 6f 20 70 69 |.put "?"| into pi|
|00005050| 63 6b 65 64 0d 65 78 69 | 74 20 72 65 70 65 61 74 |cked.exi|t repeat|
|00005060| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 69 66 20 |.end if.|else.if |
|00005070| 69 74 3d 22 6e 61 6d 65 | 3f 22 20 74 68 65 6e 20 |it="name|?" then |
|00005080| 70 75 74 20 22 3f 22 20 | 69 6e 74 6f 20 70 69 63 |put "?" |into pic|
|00005090| 6b 65 64 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |ked.exit| repeat.|
|000050a0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|000050b0| 74 0d 69 66 20 22 2c 22 | 20 69 73 20 69 6e 20 70 |t.if ","| is in p|
|000050c0| 69 63 6b 65 64 20 74 68 | 65 6e 0d 62 65 65 70 0d |icked th|en.beep.|
|000050d0| 61 73 6b 20 22 50 6c 65 | 61 73 65 20 72 65 2d 65 |ask "Ple|ase re-e|
|000050e0| 6e 74 65 72 20 74 68 65 | 20 69 74 65 6d 20 6e 61 |nter the| item na|
|000050f0| 6d 65 20 77 69 74 68 6f | 75 74 20 63 6f 6d 6d 61 |me witho|ut comma|
|00005100| 73 3a 22 20 77 69 74 68 | 20 70 69 63 6b 65 64 0d |s:" with| picked.|
|00005110| 72 65 70 65 61 74 20 66 | 6f 72 65 76 65 72 0d 69 |repeat f|orever.i|
|00005120| 66 20 74 68 65 20 72 65 | 73 75 6c 74 3d 22 43 61 |f the re|sult="Ca|
|00005130| 6e 63 65 6c 22 20 74 68 | 65 6e 0d 70 75 74 20 22 |ncel" th|en.put "|
|00005140| 3f 22 20 69 6e 74 6f 20 | 70 69 63 6b 65 64 0d 65 |?" into |picked.e|
|00005150| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |xit repe|at.end i|
|00005160| 66 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 70 69 |f.put it| into pi|
|00005170| 63 6b 65 64 0d 69 66 20 | 22 2c 22 20 69 73 20 69 |cked.if |"," is i|
|00005180| 6e 20 70 69 63 6b 65 64 | 20 74 68 65 6e 0d 62 65 |n picked| then.be|
|00005190| 65 70 0d 61 73 6b 20 22 | 50 6c 65 61 73 65 20 72 |ep.ask "|Please r|
|000051a0| 65 2d 65 6e 74 65 72 20 | 74 68 65 20 69 74 65 6d |e-enter |the item|
|000051b0| 20 6e 61 6d 65 20 77 69 | 74 68 6f 75 74 20 63 6f | name wi|thout co|
|000051c0| 6d 6d 61 73 3a 22 20 77 | 69 74 68 20 70 69 63 6b |mmas:" w|ith pick|
|000051d0| 65 64 0d 65 6c 73 65 0d | 65 78 69 74 20 72 65 70 |ed.else.|exit rep|
|000051e0| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |eat.end |if.end r|
|000051f0| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 69 66 20 |epeat.en|d if.if |
|00005200| 70 69 63 6b 65 64 3d 22 | 3f 22 20 74 68 65 6e 0d |picked="|?" then.|
|00005210| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 74 |put empt|y into t|
|00005220| 61 72 67 65 74 0d 65 78 | 69 74 20 74 6f 20 48 79 |arget.ex|it to Hy|
|00005230| 70 65 72 43 61 72 64 0d | 65 6e 64 20 69 66 0d 65 |perCard.|end if.e|
|00005240| 6e 64 20 65 64 69 74 54 | 68 65 4e 61 6d 65 0d 0d |nd editT|heName..|
|00005250| 6f 6e 20 62 6c 69 6e 6b | 65 72 20 6f 62 6a 65 63 |on blink|er objec|
|00005260| 74 0d 73 65 74 20 68 69 | 6c 69 74 65 20 6f 66 20 |t.set hi|lite of |
|00005270| 6f 62 6a 65 63 74 20 74 | 6f 20 6e 6f 74 20 74 68 |object t|o not th|
|00005280| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 6f 62 6a 65 |e hilite| of obje|
|00005290| 63 74 0d 77 61 69 74 20 | 33 0d 73 65 74 20 68 69 |ct.wait |3.set hi|
|000052a0| 6c 69 74 65 20 6f 66 20 | 6f 62 6a 65 63 74 20 74 |lite of |object t|
|000052b0| 6f 20 6e 6f 74 20 74 68 | 65 20 68 69 6c 69 74 65 |o not th|e hilite|
|000052c0| 20 6f 66 20 6f 62 6a 65 | 63 74 0d 65 6e 64 20 62 | of obje|ct.end b|
|000052d0| 6c 69 6e 6b 65 72 0d 0d | 6f 6e 20 72 65 70 61 69 |linker..|on repai|
|000052e0| 72 49 74 0d 70 75 74 20 | 74 68 65 20 6e 61 6d 65 |rIt.put |the name|
|000052f0| 20 6f 66 20 74 68 69 73 | 20 63 64 20 69 6e 74 6f | of this| cd into|
|00005300| 20 63 61 72 64 66 72 6f | 6d 0d 70 75 74 20 22 74 | cardfro|m.put "t|
|00005310| 69 74 6c 65 2c 77 6f 72 | 74 68 22 20 69 6e 74 6f |itle,wor|th" into|
|00005320| 20 64 6f 41 6c 6c 4c 69 | 73 74 0d 0d 6c 6f 63 6b | doAllLi|st..lock|
|00005330| 20 73 63 72 65 65 6e 0d | 70 75 74 20 74 68 65 20 | screen.|put the |
|00005340| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00005350| 69 73 20 62 67 20 69 6e | 74 6f 20 62 67 6e 61 6d |is bg in|to bgnam|
|00005360| 65 0d 69 66 20 62 67 6e | 61 6d 65 20 69 73 20 69 |e.if bgn|ame is i|
|00005370| 6e 20 64 6f 41 6c 6c 4c | 69 73 74 20 74 68 65 6e |n doAllL|ist then|
|00005380| 0d 72 65 70 61 69 72 41 | 6c 6c 0d 67 6f 20 63 61 |.repairA|ll.go ca|
|00005390| 72 64 66 72 6f 6d 0d 65 | 6c 73 65 0d 69 66 20 62 |rdfrom.e|lse.if b|
|000053a0| 67 6e 61 6d 65 3d 22 73 | 74 6f 63 6b 74 61 6c 6c |gname="s|tocktall|
|000053b0| 79 22 20 74 68 65 6e 20 | 70 75 74 20 22 73 74 6f |y" then |put "sto|
|000053c0| 63 6b 73 22 20 69 6e 74 | 6f 20 62 67 6e 61 6d 65 |cks" int|o bgname|
|000053d0| 0d 70 75 74 20 62 67 6e | 61 6d 65 20 69 6e 74 6f |.put bgn|ame into|
|000053e0| 20 62 67 32 0d 70 75 74 | 20 65 6d 70 74 79 20 69 | bg2.put| empty i|
|000053f0| 6e 74 6f 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |nto last| char of|
|00005400| 20 62 67 32 0d 41 6e 73 | 77 65 72 20 22 44 6f 20 | bg2.Ans|wer "Do |
|00005410| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 72 65 70 61 |you want| to repa|
|00005420| 69 72 20 6a 75 73 74 20 | 74 68 65 20 22 26 62 67 |ir just |the "&bg|
|00005430| 32 26 22 20 69 74 65 6d | 73 20 6f 72 20 61 6c 6c |2&" item|s or all|
|00005440| 20 61 72 65 61 73 3f 22 | 20 77 69 74 68 20 22 63 | areas?"| with "c|
|00005450| 61 6e 63 65 6c 22 20 6f | 72 20 22 61 6c 6c 22 20 |ancel" o|r "all" |
|00005460| 6f 72 20 62 67 32 0d 63 | 68 65 63 6b 43 61 6e 63 |or bg2.c|heckCanc|
|00005470| 65 6c 20 69 74 0d 69 66 | 20 69 74 3d 22 61 6c 6c |el it.if| it="all|
|00005480| 22 20 74 68 65 6e 0d 72 | 65 70 61 69 72 41 6c 6c |" then.r|epairAll|
|00005490| 0d 65 6c 73 65 0d 64 6f | 20 22 63 68 65 63 6b 22 |.else.do| "check"|
|000054a0| 26 62 67 6e 61 6d 65 0d | 63 6c 65 61 6e 55 70 0d |&bgname.|cleanUp.|
|000054b0| 65 6e 64 20 69 66 0d 67 | 6f 20 63 61 72 64 66 72 |end if.g|o cardfr|
|000054c0| 6f 6d 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |om.end i|f.end re|
|000054d0| 70 61 69 72 49 74 0d 0d | 6f 6e 20 72 65 70 61 69 |pairIt..|on repai|
|000054e0| 72 41 6c 6c 0d 61 6e 73 | 77 65 72 20 22 54 68 69 |rAll.ans|wer "Thi|
|000054f0| 73 20 6d 61 79 20 74 61 | 6b 65 20 61 20 6d 69 6e |s may ta|ke a min|
|00005500| 75 74 65 20 6f 72 20 73 | 6f 2c 20 64 65 70 65 6e |ute or s|o, depen|
|00005510| 64 69 6e 67 20 75 70 6f | 6e 20 68 6f 77 20 6d 61 |ding upo|n how ma|
|00005520| 6e 79 20 65 6e 74 72 69 | 65 73 20 79 6f 75 20 68 |ny entri|es you h|
|00005530| 61 76 65 2e 22 20 77 69 | 74 68 20 22 63 61 6e 63 |ave." wi|th "canc|
|00005540| 65 6c 22 20 6f 72 20 22 | 50 72 6f 63 65 65 64 22 |el" or "|Proceed"|
|00005550| 0d 63 68 65 63 6b 43 61 | 6e 63 65 6c 20 69 74 0d |.checkCa|ncel it.|
|00005560| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 66 |put empt|y into f|
|00005570| 69 65 6c 64 20 22 73 4c | 69 73 74 22 20 6f 66 20 |ield "sL|ist" of |
|00005580| 66 69 72 73 74 20 63 61 | 72 64 20 2d 2d 20 74 68 |first ca|rd -- th|
|00005590| 65 20 66 69 65 6c 64 20 | 61 6c 73 6f 20 75 73 65 |e field |also use|
|000055a0| 64 20 74 6f 20 73 65 65 | 20 69 66 20 72 65 70 61 |d to see| if repa|
|000055b0| 69 72 69 6e 67 0d 69 6e | 69 74 69 61 6c 69 7a 65 |iring.in|itialize|
|000055c0| 0d 63 6c 65 61 6e 75 70 | 0d 65 6e 64 20 72 65 70 |.cleanup|.end rep|
|000055d0| 61 69 72 41 6c 6c 0d 0d | 6f 6e 20 63 6c 65 61 6e |airAll..|on clean|
|000055e0| 55 70 0d 73 65 74 20 6c | 6f 63 6b 6d 65 73 73 61 |Up.set l|ockmessa|
|000055f0| 67 65 73 20 74 6f 20 74 | 72 75 65 0d 70 75 74 20 |ges to t|rue.put |
|00005600| 22 43 6c 65 61 6e 69 6e | 67 20 75 70 20 63 65 72 |"Cleanin|g up cer|
|00005610| 74 61 69 6e 20 61 72 65 | 61 73 20 2e 2e 2e 22 0d |tain are|as ...".|
|00005620| 2d 2d 20 64 65 6c 65 74 | 65 20 61 6e 79 20 65 78 |-- delet|e any ex|
|00005630| 74 72 61 6e 65 6f 75 73 | 20 6c 69 6e 65 73 20 69 |traneous| lines i|
|00005640| 6e 20 62 67 20 22 64 65 | 74 61 69 6c 73 22 0d 72 |n bg "de|tails".r|
|00005650| 65 70 65 61 74 20 77 69 | 74 68 20 79 3d 31 20 74 |epeat wi|th y=1 t|
|00005660| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00005670| 63 64 73 20 69 6e 20 62 | 67 20 22 64 65 74 61 69 |cds in b|g "detai|
|00005680| 6c 73 22 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ls".set |cursor t|
|00005690| 6f 20 62 75 73 79 0d 67 | 6f 20 63 64 20 79 20 6f |o busy.g|o cd y o|
|000056a0| 66 20 62 67 20 22 64 65 | 74 61 69 6c 73 22 0d 70 |f bg "de|tails".p|
|000056b0| 75 74 20 4e 54 46 53 71 | 75 65 65 7a 65 54 65 78 |ut NTFSq|ueezeTex|
|000056c0| 74 28 66 69 65 6c 64 20 | 22 6e 61 6d 65 22 2c 22 |t(field |"name","|
|000056d0| 41 22 29 20 69 6e 74 6f | 20 66 69 65 6c 64 20 22 |A") into| field "|
|000056e0| 6e 61 6d 65 22 0d 70 75 | 74 20 4e 54 46 53 71 75 |name".pu|t NTFSqu|
|000056f0| 65 65 7a 65 54 65 78 74 | 28 66 69 65 6c 64 20 22 |eezeText|(field "|
|00005700| 76 61 6c 75 65 22 2c 22 | 41 22 29 20 69 6e 74 6f |value","|A") into|
|00005710| 20 66 69 65 6c 64 20 22 | 76 61 6c 75 65 22 0d 65 | field "|value".e|
|00005720| 6e 64 20 72 65 70 65 61 | 74 0d 2d 2d 20 64 65 6c |nd repea|t.-- del|
|00005730| 65 74 65 20 65 78 74 72 | 61 20 6c 69 6e 65 73 20 |ete extr|a lines |
|00005740| 69 6e 20 6e 6f 74 65 73 | 32 20 66 69 65 6c 64 20 |in notes|2 field |
|00005750| 6f 66 20 62 61 6e 6b 73 | 0d 72 65 70 65 61 74 20 |of banks|.repeat |
|00005760| 77 69 74 68 20 78 3d 32 | 20 74 6f 20 74 68 65 20 |with x=2| to the |
|00005770| 6e 75 6d 62 65 72 20 6f | 66 20 63 64 73 20 6f 66 |number o|f cds of|
|00005780| 20 62 67 20 22 62 61 6e | 6b 73 22 0d 73 65 74 20 | bg "ban|ks".set |
|00005790| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 67 |cursor t|o busy.g|
|000057a0| 6f 20 63 64 20 78 20 6f | 66 20 62 67 20 22 62 61 |o cd x o|f bg "ba|
|000057b0| 6e 6b 73 22 0d 70 75 74 | 20 4e 54 46 53 71 75 65 |nks".put| NTFSque|
|000057c0| 65 7a 65 54 65 78 74 28 | 66 69 65 6c 64 20 22 68 |ezeText(|field "h|
|000057d0| 69 64 64 65 6e 49 74 65 | 6d 73 22 2c 22 41 22 29 |iddenIte|ms","A")|
|000057e0| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 68 69 64 | into fi|eld "hid|
|000057f0| 64 65 6e 69 74 65 6d 73 | 22 0d 70 75 74 20 4e 54 |denitems|".put NT|
|00005800| 46 53 71 75 65 65 7a 65 | 54 65 78 74 28 66 69 65 |FSqueeze|Text(fie|
|00005810| 6c 64 20 22 4e 6f 74 65 | 73 32 22 2c 22 41 22 29 |ld "Note|s2","A")|
|00005820| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 4e 6f 74 | into fi|eld "Not|
|00005830| 65 73 32 22 0d 2d 2d 20 | 72 65 62 75 69 6c 64 20 |es2".-- |rebuild |
|00005840| 4e 6f 74 65 73 32 20 66 | 69 65 6c 64 3a 0d 70 75 |Notes2 f|ield:.pu|
|00005850| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|00005860| 6c 69 6e 65 73 20 6f 66 | 20 66 69 65 6c 64 20 22 |lines of| field "|
|00005870| 68 69 64 64 65 6e 69 74 | 65 6d 73 22 20 69 6e 74 |hiddenit|ems" int|
|00005880| 6f 20 68 69 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |o hi.put| empty i|
|00005890| 6e 74 6f 20 66 69 65 6c | 64 20 22 4e 6f 74 65 73 |nto fiel|d "Notes|
|000058a0| 32 22 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 79 |2".repea|t with y|
|000058b0| 79 3d 31 20 74 6f 20 68 | 69 0d 70 75 74 20 6c 69 |y=1 to h|i.put li|
|000058c0| 6e 65 20 79 79 20 6f 66 | 20 66 69 65 6c 64 20 22 |ne yy of| field "|
|000058d0| 68 69 64 64 65 6e 49 74 | 65 6d 73 22 20 69 6e 74 |hiddenIt|ems" int|
|000058e0| 6f 20 74 65 73 74 0d 70 | 75 74 20 69 74 65 6d 41 |o test.p|ut itemA|
|000058f0| 6c 69 67 6e 28 74 65 73 | 74 29 20 69 6e 74 6f 20 |lign(tes|t) into |
|00005900| 6c 69 6e 65 20 79 79 20 | 6f 66 20 66 69 65 6c 64 |line yy |of field|
|00005910| 20 22 4e 6f 74 65 73 32 | 22 0d 65 6e 64 20 72 65 | "Notes2|".end re|
|00005920| 70 65 61 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |peat.end| repeat.|
|00005930| 2d 2d 20 2d 2d 20 64 65 | 6c 65 74 65 20 65 78 74 |-- -- de|lete ext|
|00005940| 72 61 20 6c 69 6e 65 73 | 20 69 6e 20 73 74 6f 63 |ra lines| in stoc|
|00005950| 6b 20 62 67 20 66 69 65 | 6c 64 73 0d 2d 2d 20 72 |k bg fie|lds.-- r|
|00005960| 65 70 65 61 74 20 77 69 | 74 68 20 78 3d 32 20 74 |epeat wi|th x=2 t|
|00005970| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00005980| 63 64 73 20 6f 66 20 62 | 67 20 22 73 74 6f 63 6b |cds of b|g "stock|
|00005990| 73 22 0d 2d 2d 20 73 65 | 74 20 63 75 72 73 6f 72 |s".-- se|t cursor|
|000059a0| 20 74 6f 20 62 75 73 79 | 0d 2d 2d 20 67 6f 20 63 | to busy|.-- go c|
|000059b0| 64 20 78 20 6f 66 20 62 | 67 20 22 73 74 6f 63 6b |d x of b|g "stock|
|000059c0| 73 22 0d 2d 2d 20 70 75 | 74 20 4e 54 46 53 71 75 |s".-- pu|t NTFSqu|
|000059d0| 65 65 7a 65 54 65 78 74 | 28 66 69 65 6c 64 20 22 |eezeText|(field "|
|000059e0| 44 61 74 61 22 2c 22 41 | 22 29 20 69 6e 74 6f 20 |Data","A|") into |
|000059f0| 66 69 65 6c 64 20 22 44 | 61 74 61 22 0d 2d 2d 20 |field "D|ata".-- |
|00005a00| 70 75 74 20 4e 54 46 53 | 71 75 65 65 7a 65 54 65 |put NTFS|queezeTe|
|00005a10| 78 74 28 66 69 65 6c 64 | 20 22 53 74 6f 63 6b 72 |xt(field| "Stockr|
|00005a20| 65 67 22 2c 22 41 22 29 | 20 69 6e 74 6f 20 66 69 |eg","A")| into fi|
|00005a30| 65 6c 64 20 22 53 74 6f | 63 6b 72 65 67 22 0d 2d |eld "Sto|ckreg".-|
|00005a40| 2d 20 65 6e 64 20 72 65 | 70 65 61 74 0d 2d 2d 20 |- end re|peat.-- |
|00005a50| 6d 61 6b 65 20 73 75 72 | 65 20 77 68 69 74 65 2d |make sur|e white-|
|00005a60| 6f 75 74 20 62 75 74 74 | 6f 6e 73 20 69 6e 20 67 |out butt|ons in g|
|00005a70| 72 61 70 68 20 63 64 73 | 20 68 69 64 64 65 6e 0d |raph cds| hidden.|
|00005a80| 67 6f 20 66 69 72 73 74 | 20 63 64 20 6f 66 20 62 |go first| cd of b|
|00005a90| 67 20 22 42 61 72 20 67 | 72 61 70 68 73 22 0d 68 |g "Bar g|raphs".h|
|00005aa0| 69 64 65 20 62 67 20 62 | 75 74 74 6f 6e 20 22 77 |ide bg b|utton "w|
|00005ab0| 68 69 74 65 22 0d 67 6f | 20 66 69 72 73 74 20 63 |hite".go| first c|
|00005ac0| 64 20 6f 66 20 62 67 20 | 22 47 72 61 70 68 73 22 |d of bg |"Graphs"|
|00005ad0| 0d 68 69 64 65 20 62 67 | 20 62 75 74 74 6f 6e 20 |.hide bg| button |
|00005ae0| 22 77 68 69 74 65 22 0d | 70 75 74 20 65 6d 70 74 |"white".|put empt|
|00005af0| 79 20 69 6e 74 6f 20 6d | 73 67 0d 68 69 64 65 20 |y into m|sg.hide |
|00005b00| 6d 73 67 0d 65 6e 64 20 | 63 6c 65 61 6e 55 70 0d |msg.end |cleanUp.|
|00005b10| 0d 6f 6e 20 65 72 61 73 | 65 53 75 72 65 0d 41 6e |.on eras|eSure.An|
|00005b20| 73 77 65 72 20 22 54 68 | 69 73 20 77 69 6c 6c 20 |swer "Th|is will |
|00005b30| 69 72 72 65 74 72 69 65 | 76 61 62 6c 79 20 77 69 |irretrie|vably wi|
|00005b40| 70 65 20 6f 75 74 20 79 | 6f 75 72 20 64 61 74 61 |pe out y|our data|
|00005b50| 2e 20 53 68 6f 75 6c 64 | 20 49 20 65 72 61 73 65 |. Should| I erase|
|00005b60| 20 69 74 3f 22 20 77 69 | 74 68 20 22 63 61 6e 63 | it?" wi|th "canc|
|00005b70| 65 6c 22 20 6f 72 20 22 | 45 72 61 73 65 22 0d 63 |el" or "|Erase".c|
|00005b80| 68 65 63 6b 43 61 6e 63 | 65 6c 20 69 74 0d 65 6e |heckCanc|el it.en|
|00005b90| 64 20 65 72 61 73 65 53 | 75 72 65 0d 0d 6f 6e 20 |d eraseS|ure..on |
|00005ba0| 62 75 74 74 6f 6e 4d 6f | 76 65 0d 67 65 74 20 74 |buttonMo|ve.get t|
|00005bb0| 68 65 20 6c 6f 63 20 6f | 66 20 74 68 65 20 74 61 |he loc o|f the ta|
|00005bc0| 72 67 65 74 0d 61 64 64 | 20 31 20 74 6f 20 69 74 |rget.add| 1 to it|
|00005bd0| 65 6d 20 31 20 6f 66 20 | 69 74 0d 61 64 64 20 31 |em 1 of |it.add 1|
|00005be0| 20 74 6f 20 69 74 65 6d | 20 32 20 6f 66 20 69 74 | to item| 2 of it|
|00005bf0| 0d 73 65 74 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |.set the| loc of |
|00005c00| 74 68 65 20 74 61 72 67 | 65 74 20 74 6f 20 69 74 |the targ|et to it|
|00005c10| 0d 77 61 69 74 20 75 6e | 74 69 6c 20 74 68 65 20 |.wait un|til the |
|00005c20| 6d 6f 75 73 65 20 69 73 | 20 75 70 0d 67 65 74 20 |mouse is| up.get |
|00005c30| 74 68 65 20 6c 6f 63 20 | 6f 66 20 74 68 65 20 74 |the loc |of the t|
|00005c40| 61 72 67 65 74 0d 73 75 | 62 74 72 61 63 74 20 31 |arget.su|btract 1|
|00005c50| 20 66 72 6f 6d 20 69 74 | 65 6d 20 31 20 6f 66 20 | from it|em 1 of |
|00005c60| 69 74 0d 73 75 62 74 72 | 61 63 74 20 31 20 66 72 |it.subtr|act 1 fr|
|00005c70| 6f 6d 20 69 74 65 6d 20 | 32 20 6f 66 20 69 74 0d |om item |2 of it.|
|00005c80| 73 65 74 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 74 |set the |loc of t|
|00005c90| 68 65 20 74 61 72 67 65 | 74 20 74 6f 20 69 74 0d |he targe|t to it.|
|00005ca0| 65 6e 64 20 62 75 74 74 | 6f 6e 4d 6f 76 65 0d 0d |end butt|onMove..|
|00005cb0| 6f 6e 20 70 75 74 53 74 | 6f 63 6b 74 68 69 6e 67 |on putSt|ockthing|
|00005cc0| 73 20 78 20 2d 2d 20 70 | 75 74 73 20 66 6f 72 6d |s x -- p|uts form|
|00005cd0| 61 74 74 65 64 20 69 6e | 66 6f 20 69 6e 74 6f 20 |atted in|fo into |
|00005ce0| 70 6f 72 74 72 65 67 20 | 66 69 65 6c 64 0d 70 75 |portreg |field.pu|
|00005cf0| 74 20 4e 54 46 53 4e 54 | 54 65 78 74 28 61 6c 69 |t NTFSNT|Text(ali|
|00005d00| 67 6e 28 6d 61 6b 65 53 | 74 6f 63 6b 4c 69 6e 65 |gn(makeS|tockLine|
|00005d10| 73 28 78 29 2c 22 32 36 | 2c 52 2c 20 22 2c 22 38 |s(x),"26|,R, ","8|
|00005d20| 2c 52 2c 20 22 2c 22 38 | 2c 52 2c 20 22 2c 22 38 |,R, ","8|,R, ","8|
|00005d30| 2c 52 2c 20 22 2c 22 37 | 2c 52 2c 20 22 2c 22 38 |,R, ","7|,R, ","8|
|00005d40| 2c 52 2c 20 22 29 2c 54 | 29 20 69 6e 74 6f 20 78 |,R, "),T|) into x|
|00005d50| 78 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |x.set cu|rsor to |
|00005d60| 62 75 73 79 0d 70 75 74 | 20 66 69 6e 64 4c 69 6e |busy.put| findLin|
|00005d70| 65 28 6c 69 6e 65 20 78 | 20 6f 66 20 66 69 65 6c |e(line x| of fiel|
|00005d80| 64 20 22 73 74 6f 63 6b | 22 20 6f 66 20 63 64 20 |d "stock|" of cd |
|00005d90| 22 73 74 6f 63 6b 70 6f | 72 74 22 2c 66 69 65 6c |"stockpo|rt",fiel|
|00005da0| 64 20 22 70 6f 72 74 72 | 65 67 22 20 6f 66 20 63 |d "portr|eg" of c|
|00005db0| 64 20 22 73 74 6f 63 6b | 70 6f 72 74 22 29 20 69 |d "stock|port") i|
|00005dc0| 6e 74 6f 20 6c 69 6e 65 | 72 0d 69 66 20 6c 69 6e |nto line|r.if lin|
|00005dd0| 65 72 3d 30 20 74 68 65 | 6e 20 2d 2d 20 70 6f 72 |er=0 the|n -- por|
|00005de0| 74 72 65 67 20 66 69 65 | 6c 64 20 65 6d 70 74 69 |treg fie|ld empti|
|00005df0| 65 64 20 64 75 72 69 6e | 67 20 72 65 70 61 69 72 |ed durin|g repair|
|00005e00| 0d 70 75 74 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |.put (th|e number|
|00005e10| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 66 69 65 | of line|s of fie|
|00005e20| 6c 64 20 22 70 6f 72 74 | 72 65 67 22 20 6f 66 20 |ld "port|reg" of |
|00005e30| 63 64 20 22 73 74 6f 63 | 6b 70 6f 72 74 22 29 20 |cd "stoc|kport") |
|00005e40| 2b 20 31 20 69 6e 74 6f | 20 6c 69 6e 65 72 0d 65 |+ 1 into| liner.e|
|00005e50| 6e 64 20 69 66 0d 70 75 | 74 20 78 78 20 69 6e 74 |nd if.pu|t xx int|
|00005e60| 6f 20 6c 69 6e 65 20 6c | 69 6e 65 72 20 6f 66 20 |o line l|iner of |
|00005e70| 66 69 65 6c 64 20 22 70 | 6f 72 74 72 65 67 22 20 |field "p|ortreg" |
|00005e80| 6f 66 20 63 64 20 22 73 | 74 6f 63 6b 70 6f 72 74 |of cd "s|tockport|
|00005e90| 22 0d 65 6e 64 20 70 75 | 74 53 74 6f 63 6b 74 68 |".end pu|tStockth|
|00005ea0| 69 6e 67 73 0d 0d 6f 6e | 20 75 70 64 61 74 65 50 |ings..on| updateP|
|00005eb0| 72 69 63 65 63 61 6c 63 | 20 63 70 2c 63 68 61 6e |ricecalc| cp,chan|
|00005ec0| 67 65 73 74 6f 63 6b 20 | 2d 2d 20 75 70 64 61 74 |gestock |-- updat|
|00005ed0| 65 20 73 74 6f 63 6b 20 | 63 61 72 64 27 73 20 70 |e stock |card's p|
|00005ee0| 72 69 63 65 20 66 72 6f | 6d 20 73 74 6f 63 6b 70 |rice fro|m stockp|
|00005ef0| 6f 72 74 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ort.lock| screen.|
|00005f00| 67 6f 20 63 64 20 63 68 | 61 6e 67 65 73 74 6f 63 |go cd ch|angestoc|
|00005f10| 6b 0d 70 75 74 20 63 70 | 20 69 6e 74 6f 20 66 69 |k.put cp| into fi|
|00005f20| 65 6c 64 20 22 63 75 72 | 72 70 72 69 63 65 22 0d |eld "cur|rprice".|
|00005f30| 63 61 6c 63 73 74 6f 63 | 6b 0d 67 65 74 73 74 61 |calcstoc|k.getsta|
|00005f40| 6e 64 69 6e 67 0d 64 75 | 6d 70 74 6f 53 75 6d 6d |nding.du|mptoSumm|
|00005f50| 61 72 79 0d 63 68 65 63 | 6b 6d 61 78 4d 69 6e 20 |ary.chec|kmaxMin |
|00005f60| 63 70 0d 63 68 65 63 6b | 41 6c 61 72 6d 73 20 63 |cp.check|Alarms c|
|00005f70| 70 0d 67 6f 20 63 64 20 | 22 73 74 6f 63 6b 70 6f |p.go cd |"stockpo|
|00005f80| 72 74 22 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |rt".unlo|ck scree|
|00005f90| 6e 0d 65 6e 64 20 75 70 | 64 61 74 65 50 72 69 63 |n.end up|datePric|
|00005fa0| 65 63 61 6c 63 0d 0d 6f | 6e 20 74 72 61 73 68 4f |ecalc..o|n trashO|
|00005fb0| 6c 64 4c 69 6e 6b 20 6f | 6c 64 4c 69 6e 6b 0d 69 |ldLink o|ldLink.i|
|00005fc0| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 63 64 |f there |is no cd|
|00005fd0| 20 6f 6c 64 6c 69 6e 6b | 20 74 68 65 6e 20 65 78 | oldlink| then ex|
|00005fe0| 69 74 20 74 72 61 73 68 | 4f 6c 64 4c 69 6e 6b 0d |it trash|OldLink.|
|00005ff0| 70 75 74 20 66 69 65 6c | 64 20 22 73 74 6f 72 65 |put fiel|d "store|
|00006000| 64 22 20 69 6e 74 6f 20 | 74 65 6d 70 0d 70 75 74 |d" into |temp.put|
|00006010| 20 28 69 74 65 6d 20 31 | 20 6f 66 20 74 65 6d 70 | (item 1| of temp|
|00006020| 29 26 22 2c 22 26 28 69 | 74 65 6d 20 32 20 6f 66 |)&","&(i|tem 2 of|
|00006030| 20 74 65 6d 70 29 26 26 | 28 69 74 65 6d 20 33 20 | temp)&&|(item 3 |
|00006040| 6f 66 20 74 65 6d 70 29 | 26 22 2c 22 26 28 69 74 |of temp)|&","&(it|
|00006050| 65 6d 20 34 20 6f 66 20 | 74 65 6d 70 29 20 69 6e |em 4 of |temp) in|
|00006060| 74 6f 20 73 65 61 72 63 | 68 65 72 0d 6c 6f 63 6b |to searc|her.lock|
|00006070| 20 73 63 72 65 65 6e 0d | 73 65 74 20 6c 6f 63 6b | screen.|set lock|
|00006080| 6d 65 73 73 61 67 65 73 | 20 74 6f 20 74 72 75 65 |messages| to true|
|00006090| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|000060a0| 75 73 79 0d 70 75 73 68 | 20 63 64 0d 67 6f 20 63 |usy.push| cd.go c|
|000060b0| 64 20 6f 6c 64 4c 69 6e | 6b 0d 70 75 74 20 46 69 |d oldLin|k.put Fi|
|000060c0| 6e 64 4c 69 6e 65 28 73 | 65 61 72 63 68 65 72 2c |ndLine(s|earcher,|
|000060d0| 66 69 65 6c 64 20 22 68 | 69 64 64 65 6e 69 74 65 |field "h|iddenite|
|000060e0| 6d 73 22 29 20 69 6e 74 | 6f 20 6c 69 6e 65 72 0d |ms") int|o liner.|
|000060f0| 69 66 20 6c 69 6e 65 72 | 20 ad 20 30 20 74 68 65 |if liner| . 0 the|
|00006100| 6e 0d 64 65 6c 65 74 65 | 20 6c 69 6e 65 20 6c 69 |n.delete| line li|
|00006110| 6e 65 72 20 6f 66 20 66 | 69 65 6c 64 20 22 68 69 |ner of f|ield "hi|
|00006120| 64 64 65 6e 49 74 65 6d | 73 22 0d 64 65 6c 65 74 |ddenItem|s".delet|
|00006130| 65 20 6c 69 6e 65 20 6c | 69 6e 65 72 20 6f 66 20 |e line l|iner of |
|00006140| 66 69 65 6c 64 20 22 6e | 6f 74 65 73 32 22 0d 65 |field "n|otes2".e|
|00006150| 6e 64 20 69 66 0d 70 6f | 70 20 63 64 0d 75 6e 6c |nd if.po|p cd.unl|
|00006160| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 65 6e 64 20 74 |ock scre|en.end t|
|00006170| 72 61 73 68 4f 6c 64 4c | 69 6e 6b 0d 0d 6f 6e 20 |rashOldL|ink..on |
|00006180| 62 61 6e 6b 49 6e 73 65 | 72 74 20 64 61 74 65 2c |bankInse|rt date,|
|00006190| 74 79 70 65 2c 73 74 6f | 63 6b 2c 76 61 6c 75 65 |type,sto|ck,value|
|000061a0| 2c 6c 69 6e 6b 62 61 6e | 6b 20 2d 2d 20 70 75 74 |,linkban|k -- put|
|000061b0| 20 69 6e 74 6f 20 62 61 | 6e 6b 20 63 61 72 64 0d | into ba|nk card.|
|000061c0| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 63 |if there| is no c|
|000061d0| 64 20 6c 69 6e 6b 62 61 | 6e 6b 20 74 68 65 6e 20 |d linkba|nk then |
|000061e0| 65 78 69 74 20 62 61 6e | 6b 49 6e 73 65 72 74 0d |exit ban|kInsert.|
|000061f0| 70 75 74 20 64 61 74 65 | 26 22 2c 22 26 74 79 70 |put date|&","&typ|
|00006200| 65 26 26 73 74 6f 63 6b | 26 22 2c 22 26 76 61 6c |e&&stock|&","&val|
|00006210| 75 65 20 69 6e 74 6f 20 | 74 65 6d 70 0d 70 75 74 |ue into |temp.put|
|00006220| 20 69 74 65 6d 61 6c 69 | 67 6e 28 74 65 6d 70 29 | itemali|gn(temp)|
|00006230| 20 69 6e 74 6f 20 74 65 | 6d 70 50 61 64 64 65 64 | into te|mpPadded|
|00006240| 0d 73 65 74 20 6c 6f 63 | 6b 6d 65 73 73 61 67 65 |.set loc|kmessage|
|00006250| 73 20 74 6f 20 74 72 75 | 65 0d 6c 6f 63 6b 20 73 |s to tru|e.lock s|
|00006260| 63 72 65 65 6e 0d 70 75 | 73 68 20 63 64 0d 67 6f |creen.pu|sh cd.go|
|00006270| 20 63 64 20 6c 69 6e 6b | 62 61 6e 6b 0d 73 65 74 | cd link|bank.set|
|00006280| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00006290| 70 75 74 20 6e 65 78 74 | 46 72 65 65 4c 69 6e 65 |put next|FreeLine|
|000062a0| 28 22 6e 6f 74 65 73 32 | 22 29 20 69 6e 74 6f 20 |("notes2|") into |
|000062b0| 6e 6e 0d 70 75 74 20 74 | 65 6d 70 50 61 64 64 65 |nn.put t|empPadde|
|000062c0| 64 20 69 6e 74 6f 20 6c | 69 6e 65 20 6e 6e 20 6f |d into l|ine nn o|
|000062d0| 66 20 66 69 65 6c 64 20 | 22 6e 6f 74 65 73 32 22 |f field |"notes2"|
|000062e0| 0d 70 75 74 20 74 65 6d | 70 20 69 6e 74 6f 20 6c |.put tem|p into l|
|000062f0| 69 6e 65 20 6e 6e 20 6f | 66 20 66 69 65 6c 64 20 |ine nn o|f field |
|00006300| 22 68 69 64 64 65 6e 49 | 74 65 6d 73 22 0d 73 65 |"hiddenI|tems".se|
|00006310| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00006320| 0d 70 6f 70 20 63 64 0d | 73 65 74 20 6c 6f 63 6b |.pop cd.|set lock|
|00006330| 6d 65 73 73 61 67 65 73 | 20 74 6f 20 66 61 6c 73 |messages| to fals|
|00006340| 65 0d 65 6e 64 20 62 61 | 6e 6b 49 6e 73 65 72 74 |e.end ba|nkInsert|
|00006350| 0d 0d 6f 6e 20 6d 61 72 | 6b 54 68 65 43 61 72 64 |..on mar|kTheCard|
|00006360| 73 20 2d 2d 20 74 6f 20 | 70 72 69 6e 74 0d 67 6c |s -- to |print.gl|
|00006370| 6f 62 61 6c 20 70 72 69 | 6e 74 4c 69 73 74 0d 67 |obal pri|ntList.g|
|00006380| 65 74 20 4e 54 46 4c 69 | 73 74 28 22 50 72 69 6e |et NTFLi|st("Prin|
|00006390| 74 4c 69 73 74 22 2c 30 | 2c 22 67 6c 6f 62 61 6c |tList",0|,"global|
|000063a0| 22 2c 22 4e 6f 53 6f 72 | 74 22 2c 22 6e 6f 6c 69 |","NoSor|t","noli|
|000063b0| 6e 65 4e 75 6d 22 2c 22 | 50 72 69 6e 74 20 61 6c |neNum","|Print al|
|000063c0| 6c 22 2c 66 69 65 6c 64 | 20 22 70 72 69 6e 74 66 |l",field| "printf|
|000063d0| 69 6c 74 65 72 22 2c 22 | 53 68 69 66 74 2d 63 6c |ilter","|Shift-cl|
|000063e0| 69 63 6b 20 77 68 69 63 | 68 20 74 6f 20 70 72 69 |ick whic|h to pri|
|000063f0| 6e 74 3a 22 29 0d 69 66 | 20 28 69 74 3d 22 63 61 |nt:").if| (it="ca|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.